// // GameObject::setRotation from 0x44b8bc to 0x44b986 (202 bytes) // // 5 xrefs: // > PlayerObject::setRotation @ 0x4344dc // > RingObject::setRotation @ 0x4e618c // > TeleportPortalObject::setRotation2 @ 0x4e6190 // > TeleportPortalObject::setRotation @ 0x4e6ad6 // > ParticleGameObject::setRotation @ 0x4e7b28 // // 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:48:34 +0000 // int __fastcall GameObject::setRotation(int this, float a2) { int v2; // r4 int v4; // r0 int v5; // r0 bool v6; // r3 v2 = this; if ( *(float *)(this + 52) != a2 || *(float *)(this + 56) != a2 ) { *(_BYTE *)(this + 732) = 1; *(_BYTE *)(this + 733) = 1; *(_BYTE *)(this + 708) = 1; CCSpritePlus::setRotation((cocos2d::CCArray **)this, a2); v4 = *(_DWORD *)(v2 + 640); if ( v4 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 180))(v4, LODWORD(a2)); v5 = *(_DWORD *)(v2 + 756); if ( v5 && !*(_BYTE *)(v2 + 734) ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 180))(v5, LODWORD(a2)); this = *(_DWORD *)(v2 + 660); if ( this && !*(_BYTE *)(v2 + 928) ) this = (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)this + 180))(this, LODWORD(a2)); v6 = a2 == 90.0 || a2 == -90.0 || a2 == 270.0 || a2 == -270.0; *(_BYTE *)(v2 + 768) = v6; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source