{"type": "func", "start": 4297908480, "end": 4297908624, "name": "CreateParticlePopup::onPosType", "pseudocode": "// \n// CreateParticlePopup::onPosType from 0x1002ce100 to 0x1002ce190 (144 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::init @ 0x1002cb25c\n// > CreateParticlePopup::init @ 0x1002cb344\n// > CreateParticlePopup::init @ 0x1002cb430\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 __fastcall CreateParticlePopup::onPosType(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  unsigned int v3; // w20\n\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, (float)v3, PositionType, nullptr);\n  if ( !v3 )\n  {\n    CCMenuItemToggler::toggle(a1->m_relativeToggler, 0);\nLABEL_6:\n    CCMenuItemToggler::toggle(a1->m_groupedToggler, 0);\n    return;\n  }\n  CCMenuItemToggler::toggle(a1->m_freeToggler, 0);\n  if ( v3 == 1 )\n    goto LABEL_6;\n  CCMenuItemToggler::toggle(a1->m_relativeToggler, 0);\n  if ( v3 != 2 )\n    goto LABEL_6;\n}", "assembly": "; \n; CreateParticlePopup::onPosType from 0x1002ce100 to 0x1002ce190 (144 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::init @ 0x1002cb25c\n; > CreateParticlePopup::init @ 0x1002cb344\n; > CreateParticlePopup::init @ 0x1002cb430\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002ce100\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002ce104\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002ce108\nMOV             X19, X0                                                ; +0xc, 0x1002ce10c\nLDR             X8, [X1]                                               ; +0x10, 0x1002ce110\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x1002ce114\nMOV             X0, X1                                                 ; +0x18, 0x1002ce118\nBLR             X8                                                     ; +0x1c, 0x1002ce11c\nMOV             X20, X0                                                ; +0x20, 0x1002ce120\nUCVTF           S0, W0                                                 ; +0x24, 0x1002ce124\nMOV             X0, X19                                                ; +0x28, 0x1002ce128\nMOV             W1, #0x39 ; '9'                                        ; +0x2c, 0x1002ce12c\nMOV             X2, #0                                                 ; +0x30, 0x1002ce130\nBL              CreateParticlePopup__updateParticleValueForType        ; +0x34, 0x1002ce134\nCBZ             W20, loc_1002CE170                                     ; +0x38, 0x1002ce138\nLDR             X0, [X19,#0x328]                                       ; +0x3c, 0x1002ce13c\nMOV             W1, #0                                                 ; +0x40, 0x1002ce140\nBL              CCMenuItemToggler__toggle                              ; +0x44, 0x1002ce144\nCMP             W20, #1                                                ; +0x48, 0x1002ce148\nB.EQ            loc_1002CE17C                                          ; +0x4c, 0x1002ce14c\nLDR             X0, [X19,#0x330]                                       ; +0x50, 0x1002ce150\nMOV             W1, #0                                                 ; +0x54, 0x1002ce154\nBL              CCMenuItemToggler__toggle                              ; +0x58, 0x1002ce158\nCMP             W20, #2                                                ; +0x5c, 0x1002ce15c\nB.NE            loc_1002CE17C                                          ; +0x60, 0x1002ce160\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x1002ce164\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x1002ce168\nRET                                                                    ; +0x6c, 0x1002ce16c\nLDR             X0, [X19,#0x330]                                       ; +0x70, 0x1002ce170\nMOV             W1, #0                                                 ; +0x74, 0x1002ce174\nBL              CCMenuItemToggler__toggle                              ; +0x78, 0x1002ce178\nLDR             X0, [X19,#0x338]                                       ; +0x7c, 0x1002ce17c\nMOV             W1, #0                                                 ; +0x80, 0x1002ce180\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x1002ce184\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x88, 0x1002ce188\nB               CCMenuItemToggler__toggle                              ; +0x8c, 0x1002ce18c", "xrefs": ["CreateParticlePopup::init @ 0x1002cb25c", "CreateParticlePopup::init @ 0x1002cb344", "CreateParticlePopup::init @ 0x1002cb430"], "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"}