// // ParticleGameObject::setRotationX from 0x140642950 to 0x140642ab9 (361 bytes) // // 4 xrefs: // > @ 0x14081ee30 // > @ 0x1408e8438 // > @ 0x1408e8448 // > @ 0x140931118 // // 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:35:35 +0000 // double __fastcall ParticleGameObject::setRotationX(__int64 a1, float a2) { double result; // xmm0_8 unsigned int i; // ebx struct cocos2d::CCObject *v5; // rax __int64 v6; // rcx __int64 v7; // rcx __int64 v8; // rcx __int64 v9; // rbx __int64 v10; // rdx *(_QWORD *)&result = *(unsigned int *)(a1 + 56); if ( *(float *)&result != a2 ) { *(_WORD *)(a1 + 872) = 257; *(_BYTE *)(a1 + 848) = 1; cocos2d::CCSprite::setRotationX((cocos2d::CCSprite *)a1, a2); if ( *(_BYTE *)(a1 + 616) ) { for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i ) { v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v5 + 368LL))(v5); } } v6 = *(_QWORD *)(a1 + 752); if ( v6 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 368LL))(v6); v7 = *(_QWORD *)(a1 + 896); if ( v7 && !*(_BYTE *)(a1 + 874) ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 368LL))(v7); v8 = *(_QWORD *)(a1 + 776); if ( v8 && !*(_BYTE *)(a1 + 1072) ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 368LL))(v8); *(_QWORD *)&result = *(unsigned int *)(a1 + 56); *(_BYTE *)(a1 + 912) = *(float *)&result == 90.0 || *(float *)&result == -90.0 || *(float *)&result == 270.0 || *(float *)&result == -270.0; } if ( *(_BYTE *)(a1 + 1072) ) { v9 = *(_QWORD *)(a1 + 776); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 360LL))(a1); return ParticleGameObject::updateParticleAngle(a1, v10, v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source