MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zThrownCollide_CauseDamage

Function zThrownCollide_CauseDamage

dwarf/SB/Game/zThrown.cpp:3134–3145  ·  view source on GitHub ↗

Compile unit: C:\SB\Game\zThrown.cpp Producer: MW MIPS C Compiler Language: C++ Code range: 0x00280500 -> 0x002807A4 */ Range: 0x280500 -> 0x2807A4

Source from the content-addressed store, hash-verified

3132*/
3133// Range: 0x280500 -> 0x2807A4
3134static signed int zThrownCollide_CauseDamage(class zThrownStruct * thrown /* r21 */, class xEntCollis * collis /* r2 */) {
3135 // Blocks
3136 /* anonymous block */ {
3137 // Range: 0x280500 -> 0x2807A4
3138 signed int damageInflicted; // r20
3139 unsigned int collidx; // r19
3140 class xCollis * currcoll; // r18
3141 class xEnt * hitent; // r17
3142 float dummy; // r29+0x9C
3143 class xVec3 pos; // r29+0x90
3144 }
3145}
3146
3147/*
3148 Compile unit: C:\SB\Game\zThrown.cpp

Callers 3

zThrownCollide_TikiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected