// // CreateParticlePopup::onDynamicColor from 0x1405c6c80 to 0x1405c6d96 (278 bytes) // // 4 xrefs: // > CreateParticlePopup::init @ 0x1405c544f // > @ 0x1408e08bc // > @ 0x1408e08f0 // > @ 0x14092e25c // // 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:34:51 +0000 // __int64 __fastcall CreateParticlePopup::onDynamicColor(__int64 a1) { char v1; // al char v3; // cl __int64 v4; // rax __int64 v5; // rax cocos2d::CCArray *v6; // rcx unsigned int v7; // esi struct cocos2d::CCObject *v8; // rdi struct cocos2d::CCObject *v9; // rax v1 = *(_BYTE *)(a1 + 1000); v3 = v1 == 0; *(_BYTE *)(a1 + 1000) = v1 == 0; if ( !v1 ) { v4 = *(_QWORD *)(a1 + 712); if ( *(_BYTE *)(v4 + 748) ) { *(_BYTE *)(v4 + 748) = 0; v3 = *(_BYTE *)(a1 + 1000); } } v5 = *(_QWORD *)(a1 + 680); if ( v5 ) { *(_BYTE *)(v5 + 817) = v3; } else { v6 = *(cocos2d::CCArray **)(a1 + 688); if ( v6 ) { v7 = 0; if ( cocos2d::CCArray::count(v6) ) { do { v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v7); v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 696), v7); *((_BYTE *)v8 + 817) = *(_BYTE *)(a1 + 1000); if ( *(_BYTE *)(a1 + 1000) && *((_BYTE *)v9 + 748) ) *((_BYTE *)v9 + 748) = 0; ++v7; } while ( v7 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)) ); } } } CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 864), *(unsigned __int8 *)(*(_QWORD *)(a1 + 712) + 748LL)); return CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 856), *(unsigned __int8 *)(a1 + 1000)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source