{"type": "func", "start": 6706696, "end": 6706832, "name": "CreateParticlePopup::onUniformColor", "pseudocode": "// \n// CreateParticlePopup::onUniformColor from 0x665608 to 0x665690 (136 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:55:40 +0000\n// \n\nint __fastcall CreateParticlePopup::onUniformColor(CreateParticlePopup *this, cocos2d::CCObject *a2)\n{\n  unsigned int v3; // r5\n  int v4; // r6\n  int v5; // r0\n\n  CreateParticlePopup::updateParticleValueForType(\n    (unsigned int)this,\n    (float)(*(unsigned __int8 *)(*((_DWORD *)this + 136) + 656) ^ 1u),\n    56,\n    nullptr);\n  if ( *(_BYTE *)(*((_DWORD *)this + 136) + 656) )\n  {\n    v3 = *((_DWORD *)this + 132);\n    if ( v3 )\n    {\n      *(_BYTE *)(v3 + 677) = 0;\n    }\n    else if ( *((_DWORD *)this + 133) )\n    {\n      v4 = *((_DWORD *)this + 132);\n      while ( v3 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)) )\n      {\n        v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v3++);\n        *(_BYTE *)(v5 + 677) = v4;\n      }\n    }\n    *((_BYTE *)this + 704) = 0;\n  }\n  CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 157), *(unsigned __int8 *)(*((_DWORD *)this + 136) + 656));\n  return CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 156), *((unsigned __int8 *)this + 704));\n}", "assembly": "; \n; CreateParticlePopup::onUniformColor from 0x665608 to 0x665690 (136 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:55:40 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x665608\nMOVS            R2, #0x38 ; '8'                                        ; +0x2, 0x66560a\nLDR.W           R3, [R0,#0x220]                                        ; +0x4, 0x66560c\nMOV             R4, R0                                                 ; +0x8, 0x665610\nLDRB.W          R1, [R3,#0x290]                                        ; +0xa, 0x665612\nMOVS            R3, #0                                                 ; +0xe, 0x665616\nEOR.W           R1, R1, #1                                             ; +0x10, 0x665618\nVMOV            S15, R1                                                ; +0x14, 0x66561c\nVCVT.F32.U32    S15, S15                                               ; +0x18, 0x665620\nVMOV            R1, S15                                                ; +0x1c, 0x665624\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x20, 0x665628\nLDR.W           R3, [R4,#0x220]                                        ; +0x24, 0x66562c\nLDRB.W          R3, [R3,#0x290]                                        ; +0x28, 0x665630\nCBZ             R3, loc_665670                                         ; +0x2c, 0x665634\nLDR.W           R5, [R4,#0x210]                                        ; +0x2e, 0x665636\nCBZ             R5, loc_665644                                         ; +0x32, 0x66563a\nMOVS            R3, #0                                                 ; +0x34, 0x66563c\nSTRB.W          R3, [R5,#0x2A5]                                        ; +0x36, 0x66563e\nB               loc_66566A                                             ; +0x3a, 0x665642\nLDR.W           R3, [R4,#0x214]                                        ; +0x3c, 0x665644\nCBZ             R3, loc_66566A                                         ; +0x40, 0x665648\nMOV             R6, R5                                                 ; +0x42, 0x66564a\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x44, 0x66564c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x665650\nCMP             R5, R0                                                 ; +0x4c, 0x665654\nBCS             loc_66566A                                             ; +0x4e, 0x665656\nMOV             R1, R5; unsigned int                                   ; +0x50, 0x665658\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x52, 0x66565a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x56, 0x66565e\nADDS            R5, #1                                                 ; +0x5a, 0x665662\nSTRB.W          R6, [R0,#0x2A5]                                        ; +0x5c, 0x665664\nB               loc_66564C                                             ; +0x60, 0x665668\nMOVS            R3, #0                                                 ; +0x62, 0x66566a\nSTRB.W          R3, [R4,#0x2C0]                                        ; +0x64, 0x66566c\nLDR.W           R3, [R4,#0x220]                                        ; +0x68, 0x665670\nLDR.W           R0, [R4,#0x274]; this                                  ; +0x6c, 0x665674\nLDRB.W          R1, [R3,#0x290]; bool                                  ; +0x70, 0x665678\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x74, 0x66567c\nLDR.W           R0, [R4,#0x270]; this                                  ; +0x78, 0x665680\nLDRB.W          R1, [R4,#0x2C0]; bool                                  ; +0x7c, 0x665684\nPOP.W           {R4-R6,LR}                                             ; +0x80, 0x665688\nB.W             _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x84, 0x66568c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}