// // GJBaseGameLayer::flipGravity from 0x1002821b0 to 0x1002822ac (252 bytes) // // 10 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x1002845b4 // > GJBaseGameLayer::collisionCheckObjects @ 0x1002845f4 // > GJBaseGameLayer::collisionCheckObjects @ 0x100284634 // > GJBaseGameLayer::gravBumpPlayer @ 0x100284a2c // > PlayerObject::ringJump @ 0x1002c5174 // > PlayerObject::ringJump @ 0x1002c5204 // > PlayerObject::ringJump @ 0x1002c5694 // > PlayerObject::ringJump @ 0x1002c56dc // > PlayerObject::ringJump @ 0x1002c5830 // > PlayerObject::ringJump @ 0x1002c5878 // // 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 11:01:56 +0000 // __int64 __fastcall GJBaseGameLayer::flipGravity(__int64 result, __int64 a2, __int64 a3, __int64 a4) { int v5; // w20 __int64 v7; // x22 __int64 v8; // x8 unsigned __int8 *v9; // x9 __int64 v10; // x0 if ( *(unsigned __int8 *)(a2 + 2423) != (_DWORD)a3 ) { v5 = a3; v7 = result; result = PlayerObject::flipGravity(a2, a3, a4); if ( (*(_BYTE *)(v7 + 1912) & 1) == 0 && *(_BYTE *)(v7 + 1010) == 1 && (*(_BYTE *)(*(_QWORD *)(v7 + 3272) + 340LL) & 1) == 0 ) { v8 = *(_QWORD *)(v7 + 3256); v9 = *(unsigned __int8 **)(v7 + 3264); if ( *(unsigned __int8 *)(v8 + 2417) == v9[2417] && *(unsigned __int8 *)(v8 + 2419) == v9[2419] && *(unsigned __int8 *)(v8 + 2418) == v9[2418] && *(unsigned __int8 *)(v8 + 2422) == v9[2422] && *(unsigned __int8 *)(v8 + 2421) == v9[2421] && *(unsigned __int8 *)(v8 + 2428) == v9[2428] ) { if ( *(_DWORD *)(a2 + 916) == *(_DWORD *)(v8 + 916) ) v10 = *(_QWORD *)(v7 + 3264); else v10 = *(_QWORD *)(v7 + 3256); return PlayerObject::flipGravity(v10, v5 ^ 1u, a4); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source