{"type": "func", "start": 6039008, "end": 6039092, "name": "ColorActionSprite::create", "pseudocode": "// \n// ColorActionSprite::create from 0x5c25e0 to 0x5c2634 (84 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::getColorSprite @ 0x5c30f2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:53:50 +0000\n// \n\ncocos2d::CCNode *__fastcall ColorActionSprite::create(ColorActionSprite *this)\n{\n  cocos2d::CCNode *v1; // r4\n  int v2; // r3\n  cocos2d::CCNode *v3; // r0\n\n  v1 = (cocos2d::CCNode *)operator new(0x120u);\n  cocos2d::CCNode::CCNode(v1);\n  *(_DWORD *)v1 = &off_CB5950;\n  *((_DWORD *)v1 + 66) = 1132396544;\n  *((_DWORD *)v1 + 69) = 0;\n  *((_DWORD *)v1 + 71) = 0;\n  if ( ColorActionSprite::init(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(cocos2d::CCNode *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; ColorActionSprite::create from 0x5c25e0 to 0x5c2634 (84 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::getColorSprite @ 0x5c30f2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:53:50 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x5c25e0\nMOV.W           R0, #0x120; unsigned int                               ; +0x2, 0x5c25e2\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x5c25e6\nMOV             R4, R0                                                 ; +0xa, 0x5c25ea\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0xc, 0x5c25ec\nLDR             R3, =(_ZTV17ColorActionSprite_ptr - 0x5C25F8)          ; +0x10, 0x5c25f0\nMOV             R0, R4; this                                           ; +0x12, 0x5c25f2\nADD             R3, PC; _ZTV17ColorActionSprite_ptr                    ; +0x14, 0x5c25f4\nLDR             R3, [R3]; `vtable for'ColorActionSprite ...            ; +0x16, 0x5c25f6\nADDS            R3, #8                                                 ; +0x18, 0x5c25f8\nSTR             R3, [R4]                                               ; +0x1a, 0x5c25fa\nLDR             R3, =0x437F0000                                        ; +0x1c, 0x5c25fc\nSTR.W           R3, [R4,#0x108]                                        ; +0x1e, 0x5c25fe\nMOVS            R3, #0                                                 ; +0x22, 0x5c2602\nSTR.W           R3, [R4,#0x114]                                        ; +0x24, 0x5c2604\nSTR.W           R3, [R4,#0x11C]                                        ; +0x28, 0x5c2608\nBL              _ZN17ColorActionSprite4initEv; ColorActionSprite::init(void) ; +0x2c, 0x5c260c\nMOV             R5, R0                                                 ; +0x30, 0x5c2610\nCBZ             R0, loc_5C2626                                         ; +0x32, 0x5c2612\nMOV             R0, R4; this                                           ; +0x34, 0x5c2614\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x36, 0x5c2616\nB               loc_5C2630                                             ; +0x3a, 0x5c261a\nMOV             R0, R4; void *                                         ; +0x3c, 0x5c261c\nBL              _ZdlPv; operator delete(void *)                        ; +0x3e, 0x5c261e\nBL              __cxa_end_cleanup                                      ; +0x42, 0x5c2622\nLDR             R3, [R4]                                               ; +0x46, 0x5c2626\nMOV             R0, R4                                                 ; +0x48, 0x5c2628\nMOV             R4, R5                                                 ; +0x4a, 0x5c262a\nLDR             R3, [R3,#8]                                            ; +0x4c, 0x5c262c\nBLX             R3                                                     ; +0x4e, 0x5c262e\nMOV             R0, R4                                                 ; +0x50, 0x5c2630\nPOP             {R3-R5,PC}                                             ; +0x52, 0x5c2632", "xrefs": ["GJEffectManager::getColorSprite @ 0x5c30f2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}