{"type": "func", "start": 5436128, "end": 5436184, "name": "CreateParticlePopup::centerAlignParticle", "pseudocode": "// \n// CreateParticlePopup::centerAlignParticle from 0x52f2e0 to 0x52f318 (56 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::centerAlignParticle(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // r6\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7\n  cocos2d::CCPoint v4; // [sp+4h] [bp-10h] 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 0x52f2e0 to 0x52f318 (56 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            {R4-R7,LR}                                             ; +0x0, 0x52f2e0\nSUB             SP, SP, #0x14                                          ; +0x2, 0x52f2e2\nLDR             R4, =(__stack_chk_guard_ptr - 0x52F2F0)                ; +0x4, 0x52f2e4\nADD             R5, SP, #0x14+var_10                                   ; +0x6, 0x52f2e6\nLDR.W           R6, [R0,#0x20C]                                        ; +0x8, 0x52f2e8\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x52f2ec\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x52f2ee\nLDR             R2, flt_52F318; float                                  ; +0x10, 0x52f2f0\nLDR             R1, flt_52F31C; float                                  ; +0x12, 0x52f2f2\nMOV             R0, R5; this                                           ; +0x14, 0x52f2f4\nLDR             R3, [R4]                                               ; +0x16, 0x52f2f6\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x18, 0x52f2f8\nLDR             R3, [R6]                                               ; +0x1a, 0x52f2fa\nLDR             R7, [R3,#0x5C]                                         ; +0x1c, 0x52f2fc\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1e, 0x52f2fe\nMOV             R0, R6                                                 ; +0x22, 0x52f302\nMOV             R1, R5                                                 ; +0x24, 0x52f304\nBLX             R7                                                     ; +0x26, 0x52f306\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x28, 0x52f308\nLDR             R3, [R4]                                               ; +0x2a, 0x52f30a\nCMP             R2, R3                                                 ; +0x2c, 0x52f30c\nBEQ             loc_52F314                                             ; +0x2e, 0x52f30e\nBLX             __stack_chk_fail                                       ; +0x30, 0x52f310\nADD             SP, SP, #0x14                                          ; +0x34, 0x52f314\nPOP             {R4-R7,PC}                                             ; +0x36, 0x52f316", "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"}