// // GJBaseGameLayer::controlDynamicCommand from 0x58fdb0 to 0x58fdf6 (70 bytes) // // 2 xrefs: // > GJBaseGameLayer::controlDynamicRotateCommand @ 0x58fdfe // > GJBaseGameLayer::controlDynamicMoveCommand @ 0x58fe10 // // 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:53:04 +0000 // int __fastcall GJBaseGameLayer::controlDynamicCommand(int a1, int a2, int a3, int *a4, int a5) { int result; // r0 int v6; // r3 int v7; // r5 bool v9; // zf result = a5; v6 = *a4; v7 = a4[1]; while ( v6 != v7 ) { if ( a3 == -1 ) v9 = *(_DWORD *)v6 == a2; else v9 = *(_DWORD *)(v6 + 48) == a3; if ( v9 ) { if ( a5 ) { if ( a5 == 1 ) { *(_BYTE *)(v6 + 46) = 1; *(_BYTE *)(v6 + 47) = 1; } else if ( a5 == 2 ) { *(_BYTE *)(v6 + 46) = 0; *(_BYTE *)(v6 + 47) = 0; } } else { *(_BYTE *)(v6 + 45) = 1; } } v6 += 60; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source