// // CreateParticlePopup::onPosType from 0xafe9d4 to 0xafea64 (144 bytes) // // 5 xrefs: // > @ 0xf4798 // > CreateParticlePopup::init @ 0xb022b4 // > CreateParticlePopup::init @ 0xb023c8 // > CreateParticlePopup::init @ 0xb024d0 // > @ 0x1547698 // // 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 13:01:19 +0000 // __int64 __fastcall CreateParticlePopup::onPosType(CCMenuItemToggler **this, cocos2d::CCObject *a2) { long double v3; // q0 unsigned int v4; // w0 unsigned int v5; // w20 __int64 result; // x0 *(__n128 *)&v3 = ((__n128 (__fastcall *)(cocos2d::CCObject *))*(_QWORD *)(*(_QWORD *)a2 + 64LL))(a2); v5 = v4; *(float *)&v3 = (float)v4; CreateParticlePopup::updateParticleValueForType((__int64)this, 0x39u, nullptr, v3); if ( !v5 ) { CCMenuItemToggler::toggle(*(this + 105), 0); return CCMenuItemToggler::toggle(*(this + 106), 0); } CCMenuItemToggler::toggle(*(this + 104), 0); if ( v5 == 1 ) return CCMenuItemToggler::toggle(*(this + 106), 0); result = CCMenuItemToggler::toggle(*(this + 105), 0); if ( v5 != 2 ) return CCMenuItemToggler::toggle(*(this + 106), 0); return result; }