{"type": "func", "start": 6442514272, "end": 6442514362, "name": "cocos2d::extension::CCScale9Sprite::create", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::create from 0x18000f760 to 0x18000f7ba (90 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004be94\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:15:39 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCScale9Sprite::create()\n{\n  cocos2d::extension::CCScale9Sprite *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  cocos2d::extension::CCScale9Sprite *v3; // [rsp+30h] [rbp+8h]\n\n  v3 = (cocos2d::extension::CCScale9Sprite *)sub_18001F040(0x210u);\n  v0 = cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v3);\n  v1 = v0;\n  if ( v0 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v0 + 72LL))(v0) )\n    {\n      cocos2d::CCObject::autorelease(v1);\n      return v1;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::create from 0x18000f760 to 0x18000f7ba (90 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004be94\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:15:39 +0000\n; \npush    rbx                                                            ; +0x0, 0x18000f760\nsub     rsp, 20h                                                       ; +0x2, 0x18000f762\nmov     ecx, 210h; Size                                                ; +0x6, 0x18000f766\ncall    sub_18001F040                                                  ; +0xb, 0x18000f76b\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x18000f770\nmov     rcx, rax; this                                                 ; +0x15, 0x18000f775\ncall    ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x18, 0x18000f778\nmov     rbx, rax                                                       ; +0x1d, 0x18000f77d\ntest    rax, rax                                                       ; +0x20, 0x18000f780\njz      short loc_18000F7B2                                            ; +0x23, 0x18000f783\nmov     rcx, [rax]                                                     ; +0x25, 0x18000f785\nmov     rdx, [rcx+48h]                                                 ; +0x28, 0x18000f788\nmov     rcx, rax                                                       ; +0x2c, 0x18000f78c\ncall    rdx                                                            ; +0x2f, 0x18000f78f\nmov     rcx, rbx                                                       ; +0x31, 0x18000f791\ntest    al, al                                                         ; +0x34, 0x18000f794\njz      short loc_18000F7A7                                            ; +0x36, 0x18000f796\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x38, 0x18000f798\nmov     rax, rbx                                                       ; +0x3e, 0x18000f79e\nadd     rsp, 20h                                                       ; +0x41, 0x18000f7a1\npop     rbx                                                            ; +0x45, 0x18000f7a5\nretn                                                                   ; +0x46, 0x18000f7a6\nmov     rax, [rbx]                                                     ; +0x47, 0x18000f7a7\nmov     edx, 1                                                         ; +0x4a, 0x18000f7aa\ncall    qword ptr [rax+8]                                              ; +0x4f, 0x18000f7af\nxor     eax, eax                                                       ; +0x52, 0x18000f7b2\nadd     rsp, 20h                                                       ; +0x54, 0x18000f7b4\npop     rbx                                                            ; +0x58, 0x18000f7b8\nretn                                                                   ; +0x59, 0x18000f7b9", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004be94"], "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"}