{"type": "func", "start": 10224560, "end": 10224676, "name": "CreateParticlePopup::centerAlignParticle", "pseudocode": "// \n// CreateParticlePopup::centerAlignParticle from 0x9c03b0 to 0x9c0424 (116 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x7d118\n// > CreateParticlePopup::init @ 0x9c5d88\n// > <???> @ 0x122c348\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::centerAlignParticle(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // x20\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21\n  cocos2d::CCPoint v4; // [xsp+40h] [xbp+40h] BYREF\n\n  m_particle = a1->m_particle;\n  setPosition = m_particle->setPosition;\n  cocos2d::CCPoint::CCPoint(&v4, 60.0, 90.0);\n  setPosition(m_particle, &v4);\n}", "assembly": "; \n; CreateParticlePopup::centerAlignParticle from 0x9c03b0 to 0x9c0424 (116 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x7d118\n; > CreateParticlePopup::init @ 0x9c5d88\n; > <???> @ 0x122c348\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,#var_50]!                                ; +0x0, 0x9c03b0\nMOV             X29, SP                                                ; +0x4, 0x9c03b4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x9c03b8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x9c03bc\nLDR             X20, [X0,#0x2B0]                                       ; +0x10, 0x9c03c0\nLDR             S0, flt_9C0424; float                                  ; +0x14, 0x9c03c4\nADD             X1, X29, #0x50+var_10                                  ; +0x18, 0x9c03c8\nLDR             S1, flt_9C0428; float                                  ; +0x1c, 0x9c03cc\nMOV             X0, X1; this                                           ; +0x20, 0x9c03d0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x9c03d4\nLDR             X3, [X20]                                              ; +0x28, 0x9c03d8\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x2c, 0x9c03dc\nLDR             X2, [X19]                                              ; +0x30, 0x9c03e0\nSTR             X1, [X29,#0x50+var_18]                                 ; +0x34, 0x9c03e4\nLDR             X21, [X3,#0xB8]                                        ; +0x38, 0x9c03e8\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x3c, 0x9c03ec\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x40, 0x9c03f0\nLDR             X1, [X29,#0x50+var_18]                                 ; +0x44, 0x9c03f4\nMOV             X0, X20                                                ; +0x48, 0x9c03f8\nBLR             X21                                                    ; +0x4c, 0x9c03fc\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x50, 0x9c0400\nLDR             X0, [X19]                                              ; +0x54, 0x9c0404\nCMP             X1, X0                                                 ; +0x58, 0x9c0408\nB.NE            loc_9C0420                                             ; +0x5c, 0x9c040c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x60, 0x9c0410\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x64, 0x9c0414\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x68, 0x9c0418\nRET                                                                    ; +0x6c, 0x9c041c\nBL              .__stack_chk_fail                                      ; +0x70, 0x9c0420", "xrefs": ["<???> @ 0x7d118", "CreateParticlePopup::init @ 0x9c5d88", "<???> @ 0x122c348"], "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"}