// // GJBaseGameLayer::rotateObject from 0x9a5d94 to 0x9a5e10 (124 bytes) // // 3 xrefs: // > GJBaseGameLayer::rotateObjects @ 0x9a61e8 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x9eb6d4 // > @ 0x100af8 // // 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:10 +0000 // __int64 __fastcall GJBaseGameLayer::rotateObject(GJBaseGameLayer *this, GameObject *a2, float a3) { __int64 result; // x0 float v5; // s2 int v6; // w1 if ( a3 != 0.0 ) { result = *((unsigned __int8 *)a2 + 868); if ( *((_BYTE *)a2 + 868) ) { v5 = *((float *)a2 + 171); *((float *)a2 + 169) = *((float *)a2 + 169) + a3; *((float *)a2 + 171) = v5 + a3; GameObject::addRotation(a2, a3); result = *((unsigned int *)a2 + 230); if ( (_DWORD)result != 7 ) { v6 = *((unsigned __int8 *)a2 + 744); result = 1; *((_BYTE *)a2 + 864) = 1; *((_BYTE *)a2 + 865) = 1; if ( !v6 ) return GameObject::calculateOrientedBox(a2); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source