{"type": "func", "start": 10236424, "end": 10236568, "name": "CreateParticlePopup::onPosType", "pseudocode": "// \n// CreateParticlePopup::onPosType from 0x9c3208 to 0x9c3298 (144 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0xbb770\n// > CreateParticlePopup::init @ 0x9c60c0\n// > CreateParticlePopup::init @ 0x9c61d0\n// > CreateParticlePopup::init @ 0x9c62d8\n// > <???> @ 0x122e7e8\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; // w20\n\n  v3 = a2->getTag(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, (float)v3, PositionType, nullptr);\n  if ( !v3 )\n  {\n    CCMenuItemToggler::toggle(a1->m_relativeToggler, 0);\nLABEL_3:\n    CCMenuItemToggler::toggle(a1->m_groupedToggler, 0);\n    return;\n  }\n  CCMenuItemToggler::toggle(a1->m_freeToggler, 0);\n  if ( v3 == 1 )\n    goto LABEL_3;\n  CCMenuItemToggler::toggle(a1->m_relativeToggler, 0);\n  if ( v3 != 2 )\n    goto LABEL_3;\n}", "assembly": "; \n; CreateParticlePopup::onPosType from 0x9c3208 to 0x9c3298 (144 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0xbb770\n; > CreateParticlePopup::init @ 0x9c60c0\n; > CreateParticlePopup::init @ 0x9c61d0\n; > CreateParticlePopup::init @ 0x9c62d8\n; > <???> @ 0x122e7e8\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x9c3208\nMOV             X29, SP                                                ; +0x4, 0x9c320c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x9c3210\nMOV             X19, X0                                                ; +0xc, 0x9c3214\nMOV             X0, X1                                                 ; +0x10, 0x9c3218\nLDR             X1, [X1]                                               ; +0x14, 0x9c321c\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0x9c3220\nBLR             X1                                                     ; +0x1c, 0x9c3224\nMOV             W20, W0                                                ; +0x20, 0x9c3228\nMOV             W1, #0x39 ; '9'                                        ; +0x24, 0x9c322c\nMOV             X0, X19                                                ; +0x28, 0x9c3230\nUCVTF           S0, W20                                                ; +0x2c, 0x9c3234\nMOV             X2, #0                                                 ; +0x30, 0x9c3238\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x34, 0x9c323c\nCBNZ            W20, loc_9C3264                                        ; +0x38, 0x9c3240\nLDR             X0, [X19,#0x330]; this                                 ; +0x3c, 0x9c3244\nMOV             W1, #0; bool                                           ; +0x40, 0x9c3248\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x44, 0x9c324c\nLDR             X0, [X19,#0x338]; this                                 ; +0x48, 0x9c3250\nMOV             W1, #0; bool                                           ; +0x4c, 0x9c3254\nLDP             X19, X20, [SP,#var_s10]                                ; +0x50, 0x9c3258\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x54, 0x9c325c\nB               _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x58, 0x9c3260\nLDR             X0, [X19,#0x328]; this                                 ; +0x5c, 0x9c3264\nMOV             W1, #0; bool                                           ; +0x60, 0x9c3268\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x64, 0x9c326c\nCMP             W20, #1                                                ; +0x68, 0x9c3270\nB.EQ            loc_9C3250                                             ; +0x6c, 0x9c3274\nLDR             X0, [X19,#0x330]; this                                 ; +0x70, 0x9c3278\nMOV             W1, #0; bool                                           ; +0x74, 0x9c327c\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x78, 0x9c3280\nCMP             W20, #2                                                ; +0x7c, 0x9c3284\nB.NE            loc_9C3250                                             ; +0x80, 0x9c3288\nLDP             X19, X20, [SP,#var_s10]                                ; +0x84, 0x9c328c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x88, 0x9c3290\nRET                                                                    ; +0x8c, 0x9c3294", "xrefs": ["<???> @ 0xbb770", "CreateParticlePopup::init @ 0x9c60c0", "CreateParticlePopup::init @ 0x9c61d0", "CreateParticlePopup::init @ 0x9c62d8", "<???> @ 0x122e7e8"], "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"}