// // CreateParticlePopup::onCalcEmission from 0x6668c0 to 0x666942 (130 bytes) // // 0 xrefs: // // 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:55:41 +0000 // int __fastcall CreateParticlePopup::onCalcEmission(CreateParticlePopup *this, cocos2d::CCObject *a2) { float v3; // s16 float v4; // s16 float v5; // s15 v3 = COERCE_FLOAT( (*(int (__fastcall **)(_DWORD, cocos2d::CCObject *))(**((_DWORD **)this + 136) + 484))( *((_DWORD *)this + 136), a2)); v4 = v3 + (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 136) + 492))(*((_DWORD *)this + 136)); if ( v4 <= 0.0 ) v5 = -1.0; else v5 = (float)(unsigned int)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 136) + 748))(*((_DWORD *)this + 136)) / v4; CreateParticlePopup::updateParticleValueForType((unsigned int)this, v5, 5, nullptr); CreateParticlePopup::updateSliderForType((cocos2d::CCArray **)this, 5); CreateParticlePopup::updateInputNodeStringForType((int)this, 5u); return cocos2d::CCParticleSystem::resetSystem(*((cocos2d::CCParticleSystem **)this + 136)); }