{"type": "func", "start": 9172040, "end": 9172196, "name": "ColorActionSprite::create", "pseudocode": "// \n// ColorActionSprite::create from 0x8bf448 to 0x8bf4e4 (156 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::getColorSprite @ 0x8bf544\n// > <???> @ 0x77c58\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\nColorActionSprite *ColorActionSprite::create()\n{\n  __int64 v0; // x19\n\n  v0 = operator new(0x158u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);\n  *(_DWORD *)(v0 + 328) = 0;\n  *(_QWORD *)v0 = &off_1192870;\n  *(_QWORD *)(v0 + 336) = 0;\n  *(_DWORD *)(v0 + 316) = 1132396544;\n  if ( ColorActionSprite::init((ColorActionSprite *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n    return (ColorActionSprite *)v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; ColorActionSprite::create from 0x8bf448 to 0x8bf4e4 (156 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::getColorSprite @ 0x8bf544\n; > <???> @ 0x77c58\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,#-0x20+var_s0]!                          ; +0x0, 0x8bf448\nMOV             X0, #0x158; unsigned __int64                           ; +0x4, 0x8bf44c\nMOV             X29, SP                                                ; +0x8, 0x8bf450\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x8bf454\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x8bf458\nMOV             X19, X0                                                ; +0x14, 0x8bf45c\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x18, 0x8bf460\nADRP            X1, #_ZTV17ColorActionSprite_ptr@PAGE                  ; +0x1c, 0x8bf464\nMOV             X0, X19; this                                          ; +0x20, 0x8bf468\nLDR             X1, [X1,#_ZTV17ColorActionSprite_ptr@PAGEOFF]; `vtable for'ColorActionSprite ... ; +0x24, 0x8bf46c\nSTR             WZR, [X19,#0x148]                                      ; +0x28, 0x8bf470\nADD             X1, X1, #0x10                                          ; +0x2c, 0x8bf474\nSTR             X1, [X19]                                              ; +0x30, 0x8bf478\nLDR             W1, =0x437F0000                                        ; +0x34, 0x8bf47c\nSTR             XZR, [X19,#0x150]                                      ; +0x38, 0x8bf480\nSTR             W1, [X19,#0x13C]                                       ; +0x3c, 0x8bf484\nBL              _ZN17ColorActionSprite4initEv; ColorActionSprite::init(void) ; +0x40, 0x8bf488\nUXTB            W0, W0                                                 ; +0x44, 0x8bf48c\nCBZ             W0, loc_8BF4AC                                         ; +0x48, 0x8bf490\nMOV             X0, X19; this                                          ; +0x4c, 0x8bf494\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x50, 0x8bf498\nMOV             X0, X19                                                ; +0x54, 0x8bf49c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x58, 0x8bf4a0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x5c, 0x8bf4a4\nRET                                                                    ; +0x60, 0x8bf4a8\nLDR             X1, [X19]                                              ; +0x64, 0x8bf4ac\nMOV             X0, X19                                                ; +0x68, 0x8bf4b0\nMOV             X19, #0                                                ; +0x6c, 0x8bf4b4\nLDR             X1, [X1,#0x10]                                         ; +0x70, 0x8bf4b8\nBLR             X1                                                     ; +0x74, 0x8bf4bc\nMOV             X0, X19                                                ; +0x78, 0x8bf4c0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x7c, 0x8bf4c4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x80, 0x8bf4c8\nRET                                                                    ; +0x84, 0x8bf4cc\nMOV             X20, X0                                                ; +0x88, 0x8bf4d0\nMOV             X0, X19; p                                             ; +0x8c, 0x8bf4d4\nBL              _ZdlPv; operator delete(void *)                        ; +0x90, 0x8bf4d8\nMOV             X0, X20                                                ; +0x94, 0x8bf4dc\nBL              _Unwind_Resume                                         ; +0x98, 0x8bf4e0", "xrefs": ["GJEffectManager::getColorSprite @ 0x8bf544", "<???> @ 0x77c58"], "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"}