// // GJBaseGameLayer::rotateObject from 0x140334d00 to 0x140334d93 (147 bytes) // // 3 xrefs: // > GJBaseGameLayer::rotateObjects @ 0x1403351b5 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x140338f3b // > @ 0x14091f874 // // 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:34 +0000 // __int64 __fastcall GJBaseGameLayer::rotateObject(__int64 a1, __int64 *a2, float a3) { float v4; // xmm0_4 __int64 result; // rax bool v6; // zf __int64 v7; // rax if ( a3 != 0.0 ) { if ( *((_BYTE *)a2 + 876) ) { v4 = a3 + *((float *)a2 + 170); *((float *)a2 + 172) = a3 + *((float *)a2 + 172); *((float *)a2 + 170) = v4; result = GameObject::addRotation((float *)a2); if ( *((_DWORD *)a2 + 232) != 7 ) { v6 = *((_BYTE *)a2 + 744) == 0; *((_WORD *)a2 + 436) = 257; if ( v6 ) { v7 = *a2; *((_BYTE *)a2 + 744) = 1; (*(void (__fastcall **)(__int64 *))(v7 + 1416))(a2); return (*(__int64 (__fastcall **)(__int64 *))(*a2 + 1184))(a2); } } } } return result; }