{"type": "func", "start": 3025840, "end": 3025956, "name": "ExtendedLayer::create", "pseudocode": "// \n// ExtendedLayer::create from 0x2e2bb0 to 0x2e2c24 (116 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::init @ 0x2e2c5a\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\nExtendedLayer *ExtendedLayer::create()\n{\n  ExtendedLayer *v0; // r4\n  ExtendedLayer_vtbl *v1; // r3\n  ExtendedLayer *v2; // r0\n\n  v0 = (ExtendedLayer *)operator new(0x140u);\n  cocos2d::CCLayer::CCLayer(v0);\n  v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ExtendedLayer_vtbl *)&off_A3BE10;\n  v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A3C050;\n  v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A3C088;\n  v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A3C094;\n  v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A3C0A4;\n  v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A3C0B4;\n  v0->m_delegate = nullptr;\n  if ( ExtendedLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~ExtendedLayer_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; ExtendedLayer::create from 0x2e2bb0 to 0x2e2c24 (116 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::init @ 0x2e2c5a\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, 0x2e2bb0\nMOV.W           R0, #0x140; unsigned int                               ; +0x2, 0x2e2bb2\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x2e2bb6\nMOV             R4, R0                                                 ; +0xa, 0x2e2bba\nBL              _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0xc, 0x2e2bbc\nLDR             R3, =(_ZTV13ExtendedLayer_ptr - 0x2E2BC8)              ; +0x10, 0x2e2bc0\nMOV             R0, R4; this                                           ; +0x12, 0x2e2bc2\nADD             R3, PC; _ZTV13ExtendedLayer_ptr                        ; +0x14, 0x2e2bc4\nLDR             R3, [R3]; `vtable for'ExtendedLayer ...                ; +0x16, 0x2e2bc6\nADD.W           R2, R3, #8                                             ; +0x18, 0x2e2bc8\nSTR             R2, [R4]                                               ; +0x1c, 0x2e2bcc\nADD.W           R2, R3, #0x248                                         ; +0x1e, 0x2e2bce\nSTR.W           R2, [R4,#0x108]                                        ; +0x22, 0x2e2bd2\nADD.W           R2, R3, #0x280                                         ; +0x26, 0x2e2bd6\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2a, 0x2e2bda\nADD.W           R2, R3, #0x28C                                         ; +0x2e, 0x2e2bde\nSTR.W           R2, [R4,#0x110]                                        ; +0x32, 0x2e2be2\nADD.W           R2, R3, #0x29C                                         ; +0x36, 0x2e2be6\nADD.W           R3, R3, #0x2AC                                         ; +0x3a, 0x2e2bea\nSTR.W           R2, [R4,#0x114]                                        ; +0x3e, 0x2e2bee\nSTR.W           R3, [R4,#0x118]                                        ; +0x42, 0x2e2bf2\nMOVS            R3, #0                                                 ; +0x46, 0x2e2bf6\nSTR.W           R3, [R4,#0x13C]                                        ; +0x48, 0x2e2bf8\nBL              _ZN13ExtendedLayer4initEv; ExtendedLayer::init(void)   ; +0x4c, 0x2e2bfc\nMOV             R5, R0                                                 ; +0x50, 0x2e2c00\nCBZ             R0, loc_2E2C16                                         ; +0x52, 0x2e2c02\nMOV             R0, R4; this                                           ; +0x54, 0x2e2c04\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x56, 0x2e2c06\nB               loc_2E2C20                                             ; +0x5a, 0x2e2c0a\nMOV             R0, R4; p                                              ; +0x5c, 0x2e2c0c\nBL              _ZdlPv; operator delete(void *)                        ; +0x5e, 0x2e2c0e\nBL              __cxa_end_cleanup                                      ; +0x62, 0x2e2c12\nLDR             R3, [R4]                                               ; +0x66, 0x2e2c16\nMOV             R0, R4                                                 ; +0x68, 0x2e2c18\nMOV             R4, R5                                                 ; +0x6a, 0x2e2c1a\nLDR             R3, [R3,#8]                                            ; +0x6c, 0x2e2c1c\nBLX             R3                                                     ; +0x6e, 0x2e2c1e\nMOV             R0, R4                                                 ; +0x70, 0x2e2c20\nPOP             {R3-R5,PC}                                             ; +0x72, 0x2e2c22", "xrefs": ["BoomScrollLayer::init @ 0x2e2c5a"], "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"}