{"type": "func", "start": 6443051872, "end": 6443052036, "name": "cocos2d::CCSpriteFrame::create", "pseudocode": "// \n// cocos2d::CCSpriteFrame::create from 0x180092b60 to 0x180092c04 (164 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c04c8\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 11:22:08 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCSpriteFrame *__fastcall cocos2d::CCSpriteFrame::create(\n        const char *a1,\n        const struct cocos2d::CCRect *a2,\n        bool a3,\n        const struct cocos2d::CCPoint *a4,\n        const struct cocos2d::CCSize *a5)\n{\n  cocos2d::CCSpriteFrame *v9; // rax\n  cocos2d::CCSpriteFrame *v10; // rbx\n  cocos2d::CCSpriteFrame *v11; // rbx\n\n  v9 = (cocos2d::CCSpriteFrame *)sub_1800E4AC0(0xC8u);\n  v10 = v9;\n  if ( v9 )\n  {\n    memset(v9, 0, 0xC8u);\n    v11 = cocos2d::CCSpriteFrame::CCSpriteFrame(v10);\n  }\n  else\n  {\n    v11 = nullptr;\n  }\n  cocos2d::CCSpriteFrame::initWithTextureFilename(v11, a1, a2, a3, a4, a5);\n  cocos2d::CCObject::autorelease(v11);\n  return v11;\n}", "assembly": "; \n; cocos2d::CCSpriteFrame::create from 0x180092b60 to 0x180092c04 (164 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c04c8\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 11:22:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180092b60\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180092b65\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180092b6a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x180092b6f\npush    r14                                                            ; +0x14, 0x180092b74\nsub     rsp, 40h                                                       ; +0x16, 0x180092b76\nmov     rdi, r9                                                        ; +0x1a, 0x180092b7a\nmovzx   esi, r8b                                                       ; +0x1d, 0x180092b7d\nmov     rbp, rdx                                                       ; +0x21, 0x180092b81\nmov     r14, rcx                                                       ; +0x24, 0x180092b84\nmov     ecx, 0C8h; Size                                                ; +0x27, 0x180092b87\ncall    sub_1800E4AC0                                                  ; +0x2c, 0x180092b8c\nmov     rbx, rax                                                       ; +0x31, 0x180092b91\nmov     [rsp+48h+var_18], rax                                          ; +0x34, 0x180092b94\ntest    rax, rax                                                       ; +0x39, 0x180092b99\njz      short loc_180092BBB                                            ; +0x3c, 0x180092b9c\nxor     edx, edx; Val                                                  ; +0x3e, 0x180092b9e\nmov     r8d, 0C8h; Size                                                ; +0x40, 0x180092ba0\nmov     rcx, rax; void *                                               ; +0x46, 0x180092ba6\ncall    memset                                                         ; +0x49, 0x180092ba9\nmov     rcx, rbx; this                                                 ; +0x4e, 0x180092bae\ncall    ??0CCSpriteFrame@cocos2d@@QEAA@XZ; cocos2d::CCSpriteFrame::CCSpriteFrame(void) ; +0x51, 0x180092bb1\nmov     rbx, rax                                                       ; +0x56, 0x180092bb6\njmp     short loc_180092BBD                                            ; +0x59, 0x180092bb9\nxor     ebx, ebx                                                       ; +0x5b, 0x180092bbb\nmov     rax, [rsp+48h+arg_20]                                          ; +0x5d, 0x180092bbd\nmov     [rsp+48h+var_20], rax; struct cocos2d::CCSize *                ; +0x62, 0x180092bc2\nmov     [rsp+48h+var_28], rdi; struct cocos2d::CCPoint *               ; +0x67, 0x180092bc7\nmovzx   r9d, sil; bool                                                 ; +0x6c, 0x180092bcc\nmov     r8, rbp; struct cocos2d::CCRect *                              ; +0x70, 0x180092bd0\nmov     rdx, r14; char *                                               ; +0x73, 0x180092bd3\nmov     rcx, rbx; this                                                 ; +0x76, 0x180092bd6\ncall    ?initWithTextureFilename@CCSpriteFrame@cocos2d@@QEAA_NPEBDAEBVCCRect@2@_NAEBVCCPoint@2@AEBVCCSize@2@@Z; cocos2d::CCSpriteFrame::initWithTextureFilename(char const *,cocos2d::CCRect const &,bool,cocos2d::CCPoint const &,cocos2d::CCSize const &) ; +0x79, 0x180092bd9\nmov     rcx, rbx; this                                                 ; +0x7e, 0x180092bde\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x81, 0x180092be1\nmov     rax, rbx                                                       ; +0x86, 0x180092be6\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x89, 0x180092be9\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x8e, 0x180092bee\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x93, 0x180092bf3\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x98, 0x180092bf8\nadd     rsp, 40h                                                       ; +0x9d, 0x180092bfd\npop     r14                                                            ; +0xa1, 0x180092c01\nretn                                                                   ; +0xa3, 0x180092c03", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c04c8"], "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"}