// // PlayerObject::updateCollide from 0x436238 to 0x436328 (240 bytes) // // 6 xrefs: // > PlayerObject::collidedWithSlopeInternal @ 0x441fce // > PlayerObject::collidedWithSlopeInternal @ 0x441ff8 // > GJBaseGameLayer::checkCollisions @ 0x5bae52 // > GJBaseGameLayer::checkCollisions @ 0x5bb37a // > GJBaseGameLayer::checkCollisions @ 0x5bb3c6 // > GJBaseGameLayer::checkCollisions @ 0x5bb520 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:19 +0000 // float *__fastcall PlayerObject::updateCollide(PlayerObject *a1, int a2, GameObject *a3) { float v6; // s17 float *result; // r0 float v8; // s17 float v9; // s16 float v10; // s16 int v11; // r0 float v12; // s16 int v13; // r0 float *v14; // r0 float *v15; // r0 v6 = *(float *)((*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 664))(a1) + 12); result = (float *)(*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 664))(a1); v8 = v6 * 0.5; v9 = result[2] * 0.5; switch ( a2 ) { case 0: v10 = *(float *)((*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 96))(a1) + 4); v11 = PlayerObject::flipMod(a1); result = (float *)PlayerObject::updateCollideTop(a1, v10 + (float)(v8 * (float)v11), a3); break; case 1: v12 = *(float *)((*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 96))(a1) + 4); v13 = PlayerObject::flipMod(a1); result = (float *)PlayerObject::updateCollideBottom(a1, v12 - (float)(v8 * (float)v13), a3); break; case 2: v14 = (float *)(*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 96))(a1); result = (float *)PlayerObject::updateCollideLeft((double *)a1, *v14 - v9, a3); break; case 3: v15 = (float *)(*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a1 + 96))(a1); result = (float *)PlayerObject::updateCollideRight((double *)a1, v9 + *v15, a3); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source