// // GJBaseGameLayer::triggerDynamicRotateCommand from 0x140327000 to 0x14032721e (542 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerRotateCommand @ 0x140326dfe // > @ 0x1408b5bd4 // > @ 0x1408b5be4 // > @ 0x14091efec // // This function is hookable on this platform (idp: pc, 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:30:27 +0000 // __int64 __fastcall GJBaseGameLayer::triggerDynamicRotateCommand(__int64 a1, __int64 a2) { __int64 Object; // r14 __int64 result; // rax bool v6; // zf __int64 v7; // rbp __int64 v8; // rsi __int64 v9; // r15 __int64 v10; // r12 __int64 v11; // r13 __int64 v12; // rdx __int64 v13; // r8 __int64 v14; // [rsp+50h] [rbp-68h] BYREF __int64 v15; // [rsp+58h] [rbp-60h] BYREF __int64 v16; // [rsp+60h] [rbp-58h] BYREF __int64 v17; // [rsp+68h] [rbp-50h] BYREF __int64 v18; // [rsp+70h] [rbp-48h] BYREF __int64 v19; // [rsp+C8h] [rbp+10h] BYREF __int64 v20; // [rsp+D0h] [rbp+18h] BYREF __int64 v21; // [rsp+D8h] [rbp+20h] BYREF v19 = a2; Object = GJBaseGameLayer::tryGetObject(a1); v18 = Object; result = GJBaseGameLayer::tryGetObject(a1); v6 = *(_BYTE *)(a2 + 1700) == 0; v7 = result; v16 = result; if ( !v6 ) goto LABEL_6; if ( *(_BYTE *)(a2 + 1701) ) { if ( *(_BYTE *)(a1 + 1058) ) { v8 = *(_QWORD *)(a1 + 3520); goto LABEL_7; } LABEL_6: v8 = *(_QWORD *)(a1 + 3512); goto LABEL_7; } result = GJBaseGameLayer::tryGetObject(a1); v8 = result; LABEL_7: v17 = v8; if ( Object && v8 && v7 ) { v9 = GJBaseGameLayer::tryGetObject(a1); v15 = v9; v10 = GJBaseGameLayer::tryGetObject(a1); v14 = v10; v11 = GJBaseGameLayer::tryGetObject(a1); v21 = v11; v20 = GJBaseGameLayer::tryGetObject(a1); v12 = *(_QWORD *)(a1 + 1872); v13 = v20; if ( v12 == *(_QWORD *)(a1 + 1880) ) { return ((__int64 (__fastcall *)(__int64, __int64, __int64 *, __int64 *, __int64 *, __int64 *, __int64 *, __int64 *, __int64 *, __int64 *))sub_14035A9F0)( a1 + 1864, v12, &v19, &v18, &v17, &v16, &v15, &v14, &v21, &v20); } else { *(_DWORD *)(v12 + 76) = 1; *(_QWORD *)(v12 + 80) = 0; *(_QWORD *)(v12 + 8) = 0; *(_QWORD *)(v12 + 16) = 0; *(_QWORD *)(v12 + 24) = 0; *(_QWORD *)(v12 + 32) = 0; *(_QWORD *)(v12 + 40) = 0; *(_QWORD *)(v12 + 48) = 0; *(_QWORD *)(v12 + 56) = 0; *(_DWORD *)(v12 + 88) = 0; *(_QWORD *)(v12 + 64) = 0; *(_DWORD *)(v12 + 72) = 0; *(_QWORD *)v12 = a2; *(_DWORD *)(v12 + 80) = *(_DWORD *)(a2 + 1688); *(_DWORD *)(v12 + 84) = *(_DWORD *)(a2 + 1480); result = *(unsigned int *)(a2 + 1484); *(_DWORD *)(v12 + 88) = result; *(_QWORD *)(v12 + 8) = Object; *(_QWORD *)(v12 + 16) = v8; *(_QWORD *)(v12 + 24) = v7; *(_QWORD *)(v12 + 32) = v9; *(_QWORD *)(v12 + 40) = v10; *(_QWORD *)(v12 + 48) = v11; *(_QWORD *)(v12 + 56) = v13; *(_QWORD *)(a1 + 1872) += 96LL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source