{"type": "func", "start": 5443744, "end": 5443828, "name": "CreateParticlePopup::onPosType", "pseudocode": "// \n// CreateParticlePopup::onPosType from 0x5310a0 to 0x5310f4 (84 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::onPosType(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  unsigned int v3; // r5\n\n  v3 = a2->getTag(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, (float)v3, PositionType, nullptr);\n  if ( v3 && (CCMenuItemToggler::toggle(a1->m_freeToggler, 0), v3 == 1)\n    || (CCMenuItemToggler::toggle(a1->m_relativeToggler, 0), v3 != 2) )\n  {\n    CCMenuItemToggler::toggle(a1->m_groupedToggler, 0);\n  }\n}", "assembly": "; \n; CreateParticlePopup::onPosType from 0x5310a0 to 0x5310f4 (84 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x5310a0\nMOV             R4, R0                                                 ; +0x2, 0x5310a2\nLDR             R3, [R1]                                               ; +0x4, 0x5310a4\nMOV             R0, R1                                                 ; +0x6, 0x5310a6\nLDR             R3, [R3,#0x20]                                         ; +0x8, 0x5310a8\nBLX             R3                                                     ; +0xa, 0x5310aa\nMOVS            R2, #0x39 ; '9'                                        ; +0xc, 0x5310ac\nMOVS            R3, #0                                                 ; +0xe, 0x5310ae\nMOV             R5, R0                                                 ; +0x10, 0x5310b0\nMOV             R0, R4                                                 ; +0x12, 0x5310b2\nVMOV            S15, R5                                                ; +0x14, 0x5310b4\nVCVT.F32.U32    S15, S15                                               ; +0x18, 0x5310b8\nVMOV            R1, S15                                                ; +0x1c, 0x5310bc\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x20, 0x5310c0\nCBNZ            R5, loc_5310D6                                         ; +0x24, 0x5310c4\nLDR.W           R0, [R4,#0x254]; this                                  ; +0x26, 0x5310c6\nMOVS            R1, #0; bool                                           ; +0x2a, 0x5310ca\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x2c, 0x5310cc\nCMP             R5, #2                                                 ; +0x30, 0x5310d0\nBEQ             locret_5310F2                                          ; +0x32, 0x5310d2\nB               loc_5310E4                                             ; +0x34, 0x5310d4\nLDR.W           R0, [R4,#0x250]; this                                  ; +0x36, 0x5310d6\nMOVS            R1, #0; bool                                           ; +0x3a, 0x5310da\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x3c, 0x5310dc\nCMP             R5, #1                                                 ; +0x40, 0x5310e0\nBNE             loc_5310C6                                             ; +0x42, 0x5310e2\nLDR.W           R0, [R4,#0x258]; this                                  ; +0x44, 0x5310e4\nMOVS            R1, #0; bool                                           ; +0x48, 0x5310e8\nPOP.W           {R3-R5,LR}                                             ; +0x4a, 0x5310ea\nB.W             _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x4e, 0x5310ee\nPOP             {R3-R5,PC}                                             ; +0x52, 0x5310f2", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}