{"type": "func", "start": 9718708, "end": 9718852, "name": "DungeonBarsSprite::create", "pseudocode": "// \n// DungeonBarsSprite::create from 0x944bb4 to 0x944c44 (144 bytes)\n// \n// 2 xrefs:\n// > SecretLayer3::init @ 0x945468\n// > <???> @ 0x44940\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\nDungeonBarsSprite *DungeonBarsSprite::create()\n{\n  DungeonBarsSprite *v0; // x19\n\n  v0 = (DungeonBarsSprite *)operator new(0x148u);\n  cocos2d::CCNode::CCNode(v0);\n  v0->m_barsSprite = nullptr;\n  v0->__vftable = (DungeonBarsSprite_vtbl *)&off_11B3AE0;\n  if ( DungeonBarsSprite::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    v0->~DungeonBarsSprite_0(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; DungeonBarsSprite::create from 0x944bb4 to 0x944c44 (144 bytes)\n; \n; 2 xrefs:\n; > SecretLayer3::init @ 0x945468\n; > <???> @ 0x44940\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, 0x944bb4\nMOV             X0, #0x148; unsigned __int64                           ; +0x4, 0x944bb8\nMOV             X29, SP                                                ; +0x8, 0x944bbc\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x944bc0\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x944bc4\nMOV             X19, X0                                                ; +0x14, 0x944bc8\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x18, 0x944bcc\nADRP            X1, #_ZTV17DungeonBarsSprite_ptr@PAGE                  ; +0x1c, 0x944bd0\nMOV             X0, X19; this                                          ; +0x20, 0x944bd4\nLDR             X1, [X1,#_ZTV17DungeonBarsSprite_ptr@PAGEOFF]; `vtable for'DungeonBarsSprite ... ; +0x24, 0x944bd8\nSTR             XZR, [X19,#0x140]                                      ; +0x28, 0x944bdc\nADD             X1, X1, #0x10                                          ; +0x2c, 0x944be0\nSTR             X1, [X19]                                              ; +0x30, 0x944be4\nBL              _ZN17DungeonBarsSprite4initEv; DungeonBarsSprite::init(void) ; +0x34, 0x944be8\nUXTB            W0, W0                                                 ; +0x38, 0x944bec\nCBZ             W0, loc_944C0C                                         ; +0x3c, 0x944bf0\nMOV             X0, X19; this                                          ; +0x40, 0x944bf4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x44, 0x944bf8\nMOV             X0, X19                                                ; +0x48, 0x944bfc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x944c00\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x944c04\nRET                                                                    ; +0x54, 0x944c08\nLDR             X1, [X19]                                              ; +0x58, 0x944c0c\nMOV             X0, X19                                                ; +0x5c, 0x944c10\nMOV             X19, #0                                                ; +0x60, 0x944c14\nLDR             X1, [X1,#0x10]                                         ; +0x64, 0x944c18\nBLR             X1                                                     ; +0x68, 0x944c1c\nMOV             X0, X19                                                ; +0x6c, 0x944c20\nLDP             X19, X20, [SP,#var_s10]                                ; +0x70, 0x944c24\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x74, 0x944c28\nRET                                                                    ; +0x78, 0x944c2c\nMOV             X20, X0                                                ; +0x7c, 0x944c30\nMOV             X0, X19; p                                             ; +0x80, 0x944c34\nBL              _ZdlPv; operator delete(void *)                        ; +0x84, 0x944c38\nMOV             X0, X20                                                ; +0x88, 0x944c3c\nBL              _Unwind_Resume                                         ; +0x8c, 0x944c40", "xrefs": ["SecretLayer3::init @ 0x945468", "<???> @ 0x44940"], "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"}