// // GJBaseGameLayer::controlDynamicCommand from 0x99fa24 to 0x99faa8 (132 bytes) // // 3 xrefs: // > GJBaseGameLayer::controlDynamicRotateCommand @ 0x99fab0 // > GJBaseGameLayer::controlDynamicMoveCommand @ 0x99fabc // > @ 0x84460 // // 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:58:06 +0000 // __int64 __fastcall GJBaseGameLayer::controlDynamicCommand(__int64 a1, __int64 a2, int a3, __int64 *a4, int a5) { __int64 v5; // x5 __int64 result; // x0 v5 = a4[1]; for ( result = *a4; v5 != result; result += 96 ) { while ( a3 == -1 ) { if ( *(_QWORD *)result == a2 ) goto LABEL_7; LABEL_4: result += 96; if ( v5 == result ) return result; } if ( *(_DWORD *)(result + 80) != a3 ) goto LABEL_4; LABEL_7: if ( a5 ) { if ( a5 == 1 ) { *(_BYTE *)(result + 78) = 1; *(_BYTE *)(result + 79) = 1; } else if ( a5 == 2 ) { *(_BYTE *)(result + 78) = 0; *(_BYTE *)(result + 79) = 0; } goto LABEL_4; } *(_BYTE *)(result + 77) = 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source