{"type": "func", "start": 6443039120, "end": 6443039284, "name": "cocos2d::CCSpriteFrame::create", "pseudocode": "// \n// cocos2d::CCSpriteFrame::create from 0x18008f990 to 0x18008fa34 (164 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b6210\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::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 *)operator new(0xC8u);\n  v10 = v9;\n  if ( v9 )\n  {\n    memset(v9, 0, sizeof(cocos2d::CCSpriteFrame));\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 0x18008f990 to 0x18008fa34 (164 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b6210\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008f990\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18008f995\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18008f99a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x18008f99f\npush    r14                                                            ; +0x14, 0x18008f9a4\nsub     rsp, 40h                                                       ; +0x16, 0x18008f9a6\nmov     rdi, r9                                                        ; +0x1a, 0x18008f9aa\nmovzx   esi, r8b                                                       ; +0x1d, 0x18008f9ad\nmov     rbp, rdx                                                       ; +0x21, 0x18008f9b1\nmov     r14, rcx                                                       ; +0x24, 0x18008f9b4\nmov     ecx, 0C8h; Size                                                ; +0x27, 0x18008f9b7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x18008f9bc\nmov     rbx, rax                                                       ; +0x31, 0x18008f9c1\nmov     [rsp+48h+var_18], rax                                          ; +0x34, 0x18008f9c4\ntest    rax, rax                                                       ; +0x39, 0x18008f9c9\njz      short loc_18008F9EB                                            ; +0x3c, 0x18008f9cc\nxor     edx, edx; Val                                                  ; +0x3e, 0x18008f9ce\nmov     r8d, 0C8h; Size                                                ; +0x40, 0x18008f9d0\nmov     rcx, rax; void *                                               ; +0x46, 0x18008f9d6\ncall    memset                                                         ; +0x49, 0x18008f9d9\nmov     rcx, rbx; this                                                 ; +0x4e, 0x18008f9de\ncall    ??0CCSpriteFrame@cocos2d@@QEAA@XZ; cocos2d::CCSpriteFrame::CCSpriteFrame(void) ; +0x51, 0x18008f9e1\nmov     rbx, rax                                                       ; +0x56, 0x18008f9e6\njmp     short loc_18008F9ED                                            ; +0x59, 0x18008f9e9\nxor     ebx, ebx                                                       ; +0x5b, 0x18008f9eb\nmov     rax, [rsp+48h+arg_20]                                          ; +0x5d, 0x18008f9ed\nmov     [rsp+48h+var_20], rax; struct cocos2d::CCSize *                ; +0x62, 0x18008f9f2\nmov     [rsp+48h+var_28], rdi; struct cocos2d::CCPoint *               ; +0x67, 0x18008f9f7\nmovzx   r9d, sil; bool                                                 ; +0x6c, 0x18008f9fc\nmov     r8, rbp; struct cocos2d::CCRect *                              ; +0x70, 0x18008fa00\nmov     rdx, r14; char *                                               ; +0x73, 0x18008fa03\nmov     rcx, rbx; this                                                 ; +0x76, 0x18008fa06\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, 0x18008fa09\nmov     rcx, rbx; this                                                 ; +0x7e, 0x18008fa0e\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x81, 0x18008fa11\nmov     rax, rbx                                                       ; +0x86, 0x18008fa16\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x89, 0x18008fa19\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x8e, 0x18008fa1e\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x93, 0x18008fa23\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x98, 0x18008fa28\nadd     rsp, 40h                                                       ; +0x9d, 0x18008fa2d\npop     r14                                                            ; +0xa1, 0x18008fa31\nretn                                                                   ; +0xa3, 0x18008fa33", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b6210"], "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"}