// // GameObject::setRotation from 0x140294fc0 to 0x140295113 (339 bytes) // // 48 xrefs: // > RingObject::setRotation @ 0x140501e70 // > ParticleGameObject::setRotation @ 0x140642909 // > TeleportPortalObject::setRotation @ 0x140653a7a // > @ 0x1407547c8 // > @ 0x140754f48 // > @ 0x14075e310 // > @ 0x14075ea18 // > @ 0x14081f550 // > @ 0x14081fd98 // > @ 0x1408204f0 // > @ 0x140820ba8 // > @ 0x140821310 // > @ 0x1408219c8 // > @ 0x1408220a8 // > @ 0x140822760 // > @ 0x1408237b8 // > @ 0x140823e70 // > @ 0x140824668 // > @ 0x140824d20 // > @ 0x1408253d8 // > @ 0x140826440 // > @ 0x140826be8 // > @ 0x140827318 // > @ 0x1408279d0 // > @ 0x140828128 // > @ 0x140828970 // > @ 0x140829028 // > @ 0x1408297a8 // > @ 0x140829f28 // > @ 0x14082a5e0 // > @ 0x14082ac98 // > @ 0x14082b6a8 // > @ 0x14082bdd8 // > @ 0x14082c490 // > @ 0x14082cb48 // > @ 0x14082d200 // > @ 0x14082d9d0 // > @ 0x14082e178 // > @ 0x14082eee8 // > @ 0x14082f5a0 // > @ 0x14082fc58 // > @ 0x140830310 // > @ 0x1408309c8 // > @ 0x1408311e8 // > @ 0x140831968 // > @ 0x1408af144 // > @ 0x1408af154 // > @ 0x14091d468 // // 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:29:10 +0000 // void __fastcall GameObject::setRotation(__int64 a1, float a2) { unsigned int i; // edi struct cocos2d::CCObject *v4; // rax __int64 v5; // rcx __int64 v6; // rcx __int64 v7; // rcx if ( *(float *)(a1 + 56) != a2 || *(float *)(a1 + 60) != a2 ) { *(_WORD *)(a1 + 872) = 257; *(_BYTE *)(a1 + 848) = 1; cocos2d::CCSprite::setRotation((cocos2d::CCSprite *)a1, a2); if ( *(_BYTE *)(a1 + 616) ) { for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i ) { v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 352LL))(v4); } } v5 = *(_QWORD *)(a1 + 752); if ( v5 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 352LL))(v5); v6 = *(_QWORD *)(a1 + 896); if ( v6 && !*(_BYTE *)(a1 + 874) ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 352LL))(v6); v7 = *(_QWORD *)(a1 + 776); if ( v7 && !*(_BYTE *)(a1 + 1072) ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 352LL))(v7); *(_BYTE *)(a1 + 912) = a2 == 90.0 || a2 == -90.0 || a2 == 270.0 || a2 == -270.0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source