{"type": "func", "start": 4298696192, "end": 4298696352, "name": "ExtendedLayer::create", "pseudocode": "// \n// ExtendedLayer::create from 0x10038e600 to 0x10038e6a0 (160 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:29:12 +0000\n// \n\n_QWORD *ExtendedLayer::create()\n{\n  _QWORD *v0; // rbx\n\n  v0 = operator new(0x1A0u);\n  cocos2d::CCLayer::CCLayer(v0);\n  *v0 = off_100B2FE60;\n  v0[40] = off_100B302F0;\n  v0[41] = &off_100B30360;\n  v0[42] = off_100B30378;\n  v0[43] = off_100B30398;\n  v0[44] = off_100B303C0;\n  v0[51] = 0;\n  if ( (unsigned __int8)cocos2d::CCLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; ExtendedLayer::create from 0x10038e600 to 0x10038e6a0 (160 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:29:12 +0000\n; \npush    rbp                                                            ; +0x0, 0x10038e600\nmov     rbp, rsp                                                       ; +0x1, 0x10038e601\npush    r14                                                            ; +0x4, 0x10038e604\npush    rbx                                                            ; +0x6, 0x10038e606\nmov     edi, 1A0h; __sz                                                ; +0x7, 0x10038e607\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10038e60c\nmov     rbx, rax                                                       ; +0x11, 0x10038e611\nmov     rdi, rax                                                       ; +0x14, 0x10038e614\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x17, 0x10038e617\nlea     rax, off_100B2FE60                                             ; +0x1c, 0x10038e61c\nmov     [rbx], rax                                                     ; +0x23, 0x10038e623\nlea     rax, off_100B302F0                                             ; +0x26, 0x10038e626\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10038e62d\nlea     rax, off_100B30360                                             ; +0x34, 0x10038e634\nmov     [rbx+148h], rax                                                ; +0x3b, 0x10038e63b\nlea     rax, off_100B30378                                             ; +0x42, 0x10038e642\nmov     [rbx+150h], rax                                                ; +0x49, 0x10038e649\nlea     rax, off_100B30398                                             ; +0x50, 0x10038e650\nmov     [rbx+158h], rax                                                ; +0x57, 0x10038e657\nlea     rax, off_100B303C0                                             ; +0x5e, 0x10038e65e\nmov     [rbx+160h], rax                                                ; +0x65, 0x10038e665\nmov     qword ptr [rbx+198h], 0                                        ; +0x6c, 0x10038e66c\nmov     rdi, rbx                                                       ; +0x77, 0x10038e677\ncall    cocos2d__CCLayer__init                                         ; +0x7a, 0x10038e67a\ntest    al, al                                                         ; +0x7f, 0x10038e67f\njz      short loc_10038E68D                                            ; +0x81, 0x10038e681\nmov     rdi, rbx                                                       ; +0x83, 0x10038e683\ncall    cocos2d__CCObject__autorelease                                 ; +0x86, 0x10038e686\njmp     short loc_10038E698                                            ; +0x8b, 0x10038e68b\nmov     rax, [rbx]                                                     ; +0x8d, 0x10038e68d\nmov     rdi, rbx                                                       ; +0x90, 0x10038e690\ncall    qword ptr [rax+10h]                                            ; +0x93, 0x10038e693\nxor     ebx, ebx                                                       ; +0x96, 0x10038e696\nmov     rax, rbx                                                       ; +0x98, 0x10038e698\npop     rbx                                                            ; +0x9b, 0x10038e69b\npop     r14                                                            ; +0x9c, 0x10038e69c\npop     rbp                                                            ; +0x9e, 0x10038e69e\nretn                                                                   ; +0x9f, 0x10038e69f", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}