// // PlayerObject::updateCollide from 0x7500f0 to 0x75025c (364 bytes) // // 7 xrefs: // > PlayerObject::collidedWithSlopeInternal @ 0x75fc1c // > PlayerObject::collidedWithSlopeInternal @ 0x76067c // > GJBaseGameLayer::checkCollisions @ 0x9e984c // > GJBaseGameLayer::checkCollisions @ 0x9e9c44 // > GJBaseGameLayer::checkCollisions @ 0x9e9ca8 // > GJBaseGameLayer::checkCollisions @ 0x9ea170 // > @ 0x55480 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:52:54 +0000 // __int64 __fastcall PlayerObject::updateCollide(PlayerObject *a1, int a2, GameObject *a3) { float v6; // s9 __int64 result; // x0 float v8; // s8 float v9; // s0 float v10; // s8 float v11; // s0 float v12; // s8 float v13; // s0 float v14; // s0 v6 = *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 1328LL))(a1) + 12) * 0.5; result = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 1328LL))(a1); v8 = *(float *)(result + 8) * 0.5; switch ( a2 ) { case 0: v12 = *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1) + 4); v13 = v12 + (float)((float)(int)PlayerObject::flipMod(a1) * v6); result = PlayerObject::updateCollideTop((__int64)a1, v13, a3); break; case 1: v10 = *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1) + 4); v11 = v10 - (float)((float)(int)PlayerObject::flipMod(a1) * v6); result = PlayerObject::updateCollideBottom((__int64)a1, v11, a3); break; case 2: v9 = *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1) - v8; result = PlayerObject::updateCollideLeft((__int64)a1, v9, a3); break; case 3: v14 = v8 + *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1); result = PlayerObject::updateCollideRight((__int64)a1, v14, a3); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source