{"type": "func", "start": 5170288, "end": 5170362, "name": "DungeonBarsSprite::create", "pseudocode": "// \n// DungeonBarsSprite::create from 0x4ee470 to 0x4ee4ba (74 bytes)\n// \n// 1 xrefs:\n// > SecretLayer3::init @ 0x4ef5da\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; // r4\n  DungeonBarsSprite_vtbl *v1; // r3\n  DungeonBarsSprite *v2; // r0\n\n  v0 = (DungeonBarsSprite *)operator new(0x10Cu);\n  cocos2d::CCNode::CCNode(v0);\n  v0->__vftable = (DungeonBarsSprite_vtbl *)&off_A7B030;\n  v0->m_barsSprite = nullptr;\n  if ( DungeonBarsSprite::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~DungeonBarsSprite_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; DungeonBarsSprite::create from 0x4ee470 to 0x4ee4ba (74 bytes)\n; \n; 1 xrefs:\n; > SecretLayer3::init @ 0x4ef5da\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            {R3-R5,LR}                                             ; +0x0, 0x4ee470\nMOV.W           R0, #0x10C; unsigned int                               ; +0x2, 0x4ee472\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4ee476\nMOV             R4, R0                                                 ; +0xa, 0x4ee47a\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0xc, 0x4ee47c\nLDR             R3, =(_ZTV17DungeonBarsSprite_ptr - 0x4EE488)          ; +0x10, 0x4ee480\nMOV             R0, R4; this                                           ; +0x12, 0x4ee482\nADD             R3, PC; _ZTV17DungeonBarsSprite_ptr                    ; +0x14, 0x4ee484\nLDR             R3, [R3]; `vtable for'DungeonBarsSprite ...            ; +0x16, 0x4ee486\nADDS            R3, #8                                                 ; +0x18, 0x4ee488\nSTR             R3, [R4]                                               ; +0x1a, 0x4ee48a\nMOVS            R3, #0                                                 ; +0x1c, 0x4ee48c\nSTR.W           R3, [R4,#0x108]                                        ; +0x1e, 0x4ee48e\nBL              _ZN17DungeonBarsSprite4initEv; DungeonBarsSprite::init(void) ; +0x22, 0x4ee492\nMOV             R5, R0                                                 ; +0x26, 0x4ee496\nCBZ             R0, loc_4EE4AC                                         ; +0x28, 0x4ee498\nMOV             R0, R4; this                                           ; +0x2a, 0x4ee49a\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x2c, 0x4ee49c\nB               loc_4EE4B6                                             ; +0x30, 0x4ee4a0\nMOV             R0, R4; p                                              ; +0x32, 0x4ee4a2\nBL              _ZdlPv; operator delete(void *)                        ; +0x34, 0x4ee4a4\nBL              __cxa_end_cleanup                                      ; +0x38, 0x4ee4a8\nLDR             R3, [R4]                                               ; +0x3c, 0x4ee4ac\nMOV             R0, R4                                                 ; +0x3e, 0x4ee4ae\nMOV             R4, R5                                                 ; +0x40, 0x4ee4b0\nLDR             R3, [R3,#8]                                            ; +0x42, 0x4ee4b2\nBLX             R3                                                     ; +0x44, 0x4ee4b4\nMOV             R0, R4                                                 ; +0x46, 0x4ee4b6\nPOP             {R3-R5,PC}                                             ; +0x48, 0x4ee4b8", "xrefs": ["SecretLayer3::init @ 0x4ef5da"], "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"}