{"type": "func", "start": 4877420, "end": 4877464, "name": "ColorActionSprite::init", "pseudocode": "// \n// ColorActionSprite::init from 0x4a6c6c to 0x4a6c98 (44 bytes)\n// \n// 1 xrefs:\n// > ColorActionSprite::create @ 0x49947c\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\nbool ColorActionSprite::init(ColorActionSprite *a1)\n{\n  _BOOL4 v2; // r0\n\n  v2 = cocos2d::CCNode::init(a1);\n  if ( v2 )\n  {\n    *(_WORD *)&a1->m_copyColor.r = -1;\n    *(_WORD *)&a1->m_color.r = -1;\n    a1->m_copyColor.b = -1;\n    a1->m_color.b = -1;\n    a1->m_opacity = 255.0;\n  }\n  return v2;\n}", "assembly": "; \n; ColorActionSprite::init from 0x4a6c6c to 0x4a6c98 (44 bytes)\n; \n; 1 xrefs:\n; > ColorActionSprite::create @ 0x49947c\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,LR}                                                ; +0x0, 0x4a6c6c\nMOV             R4, R0                                                 ; +0x2, 0x4a6c6e\nBL              _ZN7cocos2d6CCNode4initEv; cocos2d::CCNode::init(void) ; +0x4, 0x4a6c70\nCBZ             R0, locret_4A6C96                                      ; +0x8, 0x4a6c74\nLDR             R3, =(unk_9AC080 - 0x4A6C7C)                           ; +0xa, 0x4a6c76\nADD             R3, PC; unk_9AC080                                     ; +0xc, 0x4a6c78\nLDRH.W          R2, [R3,#(word_9AC083 - 0x9AC080)]!                    ; +0xe, 0x4a6c7a\nLDRB            R3, [R3,#(byte_9AC085 - 0x9AC083)]                     ; +0x12, 0x4a6c7e\nSTRH.W          R2, [R4,#0x10F]                                        ; +0x14, 0x4a6c80\nSTRH.W          R2, [R4,#0x10C]                                        ; +0x18, 0x4a6c84\nSTRB.W          R3, [R4,#0x111]                                        ; +0x1c, 0x4a6c88\nSTRB.W          R3, [R4,#0x10E]                                        ; +0x20, 0x4a6c8c\nLDR             R3, =0x437F0000                                        ; +0x24, 0x4a6c90\nSTR.W           R3, [R4,#0x108]                                        ; +0x26, 0x4a6c92\nPOP             {R4,PC}                                                ; +0x2a, 0x4a6c96", "xrefs": ["ColorActionSprite::create @ 0x49947c"], "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"}