{"type": "func", "start": 10589608, "end": 10589764, "name": "ColorActionSprite::create", "pseudocode": "// \n// ColorActionSprite::create from 0xa195a8 to 0xa19644 (156 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::getColorSprite @ 0xa196a4\n// > <???> @ 0xa0570\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:59:36 +0000\n// \n\n__int64 __fastcall ColorActionSprite::create(ColorActionSprite *this)\n{\n  __int64 v1; // x19\n\n  v1 = operator new(0x158u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);\n  *(_DWORD *)(v1 + 328) = 0;\n  *(_QWORD *)v1 = &off_14779F0;\n  *(_QWORD *)(v1 + 336) = 0;\n  *(_DWORD *)(v1 + 316) = 1132396544;\n  if ( (unsigned __int8)ColorActionSprite::init((ColorActionSprite *)v1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n    return v1;\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);\n    return 0;\n  }\n}", "assembly": "; \n; ColorActionSprite::create from 0xa195a8 to 0xa19644 (156 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::getColorSprite @ 0xa196a4\n; > <???> @ 0xa0570\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:59:36 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xa195a8\nMOV             X0, #0x158; unsigned __int64                           ; +0x4, 0xa195ac\nMOV             X29, SP                                                ; +0x8, 0xa195b0\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0xa195b4\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0xa195b8\nMOV             X19, X0                                                ; +0x14, 0xa195bc\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x18, 0xa195c0\nADRP            X1, #_ZTV17ColorActionSprite_ptr@PAGE                  ; +0x1c, 0xa195c4\nMOV             X0, X19; this                                          ; +0x20, 0xa195c8\nLDR             X1, [X1,#_ZTV17ColorActionSprite_ptr@PAGEOFF]; `vtable for'ColorActionSprite ... ; +0x24, 0xa195cc\nSTR             WZR, [X19,#0x148]                                      ; +0x28, 0xa195d0\nADD             X1, X1, #0x10                                          ; +0x2c, 0xa195d4\nSTR             X1, [X19]                                              ; +0x30, 0xa195d8\nLDR             W1, =0x437F0000                                        ; +0x34, 0xa195dc\nSTR             XZR, [X19,#0x150]                                      ; +0x38, 0xa195e0\nSTR             W1, [X19,#0x13C]                                       ; +0x3c, 0xa195e4\nBL              _ZN17ColorActionSprite4initEv; ColorActionSprite::init(void) ; +0x40, 0xa195e8\nUXTB            W0, W0                                                 ; +0x44, 0xa195ec\nCBZ             W0, loc_A1960C                                         ; +0x48, 0xa195f0\nMOV             X0, X19; this                                          ; +0x4c, 0xa195f4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x50, 0xa195f8\nMOV             X0, X19                                                ; +0x54, 0xa195fc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x58, 0xa19600\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x5c, 0xa19604\nRET                                                                    ; +0x60, 0xa19608\nLDR             X1, [X19]                                              ; +0x64, 0xa1960c\nMOV             X0, X19                                                ; +0x68, 0xa19610\nMOV             X19, #0                                                ; +0x6c, 0xa19614\nLDR             X1, [X1,#0x10]                                         ; +0x70, 0xa19618\nBLR             X1                                                     ; +0x74, 0xa1961c\nMOV             X0, X19                                                ; +0x78, 0xa19620\nLDP             X19, X20, [SP,#var_s10]                                ; +0x7c, 0xa19624\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x80, 0xa19628\nRET                                                                    ; +0x84, 0xa1962c\nMOV             X20, X0                                                ; +0x88, 0xa19630\nMOV             X0, X19; void *                                        ; +0x8c, 0xa19634\nBL              _ZdlPv; operator delete(void *)                        ; +0x90, 0xa19638\nMOV             X0, X20                                                ; +0x94, 0xa1963c\nBL              _Unwind_Resume                                         ; +0x98, 0xa19640", "xrefs": ["GJEffectManager::getColorSprite @ 0xa196a4", "<???> @ 0xa0570"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}