{"type": "func", "start": 6402532, "end": 6402606, "name": "DungeonBarsSprite::create", "pseudocode": "// \n// DungeonBarsSprite::create from 0x61b1e4 to 0x61b22e (74 bytes)\n// \n// 1 xrefs:\n// > SecretLayer3::init @ 0x6202de\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:54:59 +0000\n// \n\ncocos2d::CCNode *__fastcall DungeonBarsSprite::create(DungeonBarsSprite *this)\n{\n  cocos2d::CCNode *v1; // r4\n  int v2; // r3\n  cocos2d::CCNode *v3; // r0\n\n  v1 = (cocos2d::CCNode *)operator new(0x10Cu);\n  cocos2d::CCNode::CCNode(v1);\n  *(_DWORD *)v1 = &off_CC7198;\n  *((_DWORD *)v1 + 66) = 0;\n  if ( DungeonBarsSprite::init(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(cocos2d::CCNode *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; DungeonBarsSprite::create from 0x61b1e4 to 0x61b22e (74 bytes)\n; \n; 1 xrefs:\n; > SecretLayer3::init @ 0x6202de\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:54:59 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x61b1e4\nMOV.W           R0, #0x10C; unsigned int                               ; +0x2, 0x61b1e6\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x61b1ea\nMOV             R4, R0                                                 ; +0xa, 0x61b1ee\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0xc, 0x61b1f0\nLDR             R3, =(_ZTV17DungeonBarsSprite_ptr - 0x61B1FC)          ; +0x10, 0x61b1f4\nMOV             R0, R4; this                                           ; +0x12, 0x61b1f6\nADD             R3, PC; _ZTV17DungeonBarsSprite_ptr                    ; +0x14, 0x61b1f8\nLDR             R3, [R3]; `vtable for'DungeonBarsSprite ...            ; +0x16, 0x61b1fa\nADDS            R3, #8                                                 ; +0x18, 0x61b1fc\nSTR             R3, [R4]                                               ; +0x1a, 0x61b1fe\nMOVS            R3, #0                                                 ; +0x1c, 0x61b200\nSTR.W           R3, [R4,#0x108]                                        ; +0x1e, 0x61b202\nBL              _ZN17DungeonBarsSprite4initEv; DungeonBarsSprite::init(void) ; +0x22, 0x61b206\nMOV             R5, R0                                                 ; +0x26, 0x61b20a\nCBZ             R0, loc_61B220                                         ; +0x28, 0x61b20c\nMOV             R0, R4; this                                           ; +0x2a, 0x61b20e\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x2c, 0x61b210\nB               loc_61B22A                                             ; +0x30, 0x61b214\nMOV             R0, R4; void *                                         ; +0x32, 0x61b216\nBL              _ZdlPv; operator delete(void *)                        ; +0x34, 0x61b218\nBL              __cxa_end_cleanup                                      ; +0x38, 0x61b21c\nLDR             R3, [R4]                                               ; +0x3c, 0x61b220\nMOV             R0, R4                                                 ; +0x3e, 0x61b222\nMOV             R4, R5                                                 ; +0x40, 0x61b224\nLDR             R3, [R3,#8]                                            ; +0x42, 0x61b226\nBLX             R3                                                     ; +0x44, 0x61b228\nMOV             R0, R4                                                 ; +0x46, 0x61b22a\nPOP             {R3-R5,PC}                                             ; +0x48, 0x61b22c", "xrefs": ["SecretLayer3::init @ 0x6202de"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}