{"type": "func", "start": 3941024, "end": 3941140, "name": "ExtendedLayer::create", "pseudocode": "// \n// ExtendedLayer::create from 0x3c22a0 to 0x3c2314 (116 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::init @ 0x3c234a\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:46:31 +0000\n// \n\ncocos2d::CCLayer *__fastcall ExtendedLayer::create(ExtendedLayer *this)\n{\n  cocos2d::CCLayer *v1; // r4\n  int v2; // r3\n  cocos2d::CCLayer *v3; // r0\n\n  v1 = (cocos2d::CCLayer *)operator new(0x140u);\n  cocos2d::CCLayer::CCLayer(v1);\n  *(_DWORD *)v1 = &off_C83258;\n  *((_DWORD *)v1 + 66) = &off_C834A0;\n  *((_DWORD *)v1 + 67) = &off_C834D8;\n  *((_DWORD *)v1 + 68) = &off_C834E4;\n  *((_DWORD *)v1 + 69) = &off_C834F4;\n  *((_DWORD *)v1 + 70) = &off_C83508;\n  *((_DWORD *)v1 + 79) = 0;\n  if ( ExtendedLayer::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::CCLayer *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; ExtendedLayer::create from 0x3c22a0 to 0x3c2314 (116 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::init @ 0x3c234a\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:46:31 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3c22a0\nMOV.W           R0, #0x140; unsigned int                               ; +0x2, 0x3c22a2\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x3c22a6\nMOV             R4, R0                                                 ; +0xa, 0x3c22aa\nBL              _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0xc, 0x3c22ac\nLDR             R3, =(_ZTV13ExtendedLayer_ptr - 0x3C22B8)              ; +0x10, 0x3c22b0\nMOV             R0, R4; this                                           ; +0x12, 0x3c22b2\nADD             R3, PC; _ZTV13ExtendedLayer_ptr                        ; +0x14, 0x3c22b4\nLDR             R3, [R3]; `vtable for'ExtendedLayer ...                ; +0x16, 0x3c22b6\nADD.W           R2, R3, #8                                             ; +0x18, 0x3c22b8\nSTR             R2, [R4]                                               ; +0x1c, 0x3c22bc\nADD.W           R2, R3, #0x250                                         ; +0x1e, 0x3c22be\nSTR.W           R2, [R4,#0x108]                                        ; +0x22, 0x3c22c2\nADD.W           R2, R3, #0x288                                         ; +0x26, 0x3c22c6\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2a, 0x3c22ca\nADD.W           R2, R3, #0x294                                         ; +0x2e, 0x3c22ce\nSTR.W           R2, [R4,#0x110]                                        ; +0x32, 0x3c22d2\nADD.W           R2, R3, #0x2A4                                         ; +0x36, 0x3c22d6\nADD.W           R3, R3, #0x2B8                                         ; +0x3a, 0x3c22da\nSTR.W           R2, [R4,#0x114]                                        ; +0x3e, 0x3c22de\nSTR.W           R3, [R4,#0x118]                                        ; +0x42, 0x3c22e2\nMOVS            R3, #0                                                 ; +0x46, 0x3c22e6\nSTR.W           R3, [R4,#0x13C]                                        ; +0x48, 0x3c22e8\nBL              _ZN13ExtendedLayer4initEv; ExtendedLayer::init(void)   ; +0x4c, 0x3c22ec\nMOV             R5, R0                                                 ; +0x50, 0x3c22f0\nCBZ             R0, loc_3C2306                                         ; +0x52, 0x3c22f2\nMOV             R0, R4; this                                           ; +0x54, 0x3c22f4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x56, 0x3c22f6\nB               loc_3C2310                                             ; +0x5a, 0x3c22fa\nMOV             R0, R4; void *                                         ; +0x5c, 0x3c22fc\nBL              _ZdlPv; operator delete(void *)                        ; +0x5e, 0x3c22fe\nBL              __cxa_end_cleanup                                      ; +0x62, 0x3c2302\nLDR             R3, [R4]                                               ; +0x66, 0x3c2306\nMOV             R0, R4                                                 ; +0x68, 0x3c2308\nMOV             R4, R5                                                 ; +0x6a, 0x3c230a\nLDR             R3, [R3,#8]                                            ; +0x6c, 0x3c230c\nBLX             R3                                                     ; +0x6e, 0x3c230e\nMOV             R0, R4                                                 ; +0x70, 0x3c2310\nPOP             {R3-R5,PC}                                             ; +0x72, 0x3c2312", "xrefs": ["BoomScrollLayer::init @ 0x3c234a"], "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"}