{"type": "func", "start": 6442515568, "end": 6442515655, "name": "cocos2d::extension::CCScale9Sprite::create", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::create from 0x18000fc70 to 0x18000fcc7 (87 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049fb4\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\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 *)operator new(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 0x18000fc70 to 0x18000fcc7 (87 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049fb4\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    rbx                                                            ; +0x0, 0x18000fc70\nsub     rsp, 20h                                                       ; +0x2, 0x18000fc72\nmov     ecx, 210h; Size                                                ; +0x6, 0x18000fc76\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x18000fc7b\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x18000fc80\nmov     rcx, rax; this                                                 ; +0x15, 0x18000fc85\ncall    ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x18, 0x18000fc88\nmov     rbx, rax                                                       ; +0x1d, 0x18000fc8d\ntest    rax, rax                                                       ; +0x20, 0x18000fc90\njz      short loc_18000FCBF                                            ; +0x23, 0x18000fc93\nmov     rdx, [rax]                                                     ; +0x25, 0x18000fc95\nmov     rcx, rax                                                       ; +0x28, 0x18000fc98\ncall    qword ptr [rdx+48h]                                            ; +0x2b, 0x18000fc9b\nmov     rcx, rbx                                                       ; +0x2e, 0x18000fc9e\ntest    al, al                                                         ; +0x31, 0x18000fca1\njz      short loc_18000FCB4                                            ; +0x33, 0x18000fca3\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x35, 0x18000fca5\nmov     rax, rbx                                                       ; +0x3b, 0x18000fcab\nadd     rsp, 20h                                                       ; +0x3e, 0x18000fcae\npop     rbx                                                            ; +0x42, 0x18000fcb2\nretn                                                                   ; +0x43, 0x18000fcb3\nmov     rax, [rbx]                                                     ; +0x44, 0x18000fcb4\nmov     edx, 1                                                         ; +0x47, 0x18000fcb7\ncall    qword ptr [rax+8]                                              ; +0x4c, 0x18000fcbc\nxor     eax, eax                                                       ; +0x4f, 0x18000fcbf\nadd     rsp, 20h                                                       ; +0x51, 0x18000fcc1\npop     rbx                                                            ; +0x55, 0x18000fcc5\nretn                                                                   ; +0x56, 0x18000fcc6", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x180049fb4"], "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"}