{"type": "func", "start": 6443036096, "end": 6443036194, "name": "cocos2d::CCSprite::initWithSpriteFrame", "pseudocode": "// \n// cocos2d::CCSprite::initWithSpriteFrame from 0x18008edc0 to 0x18008ee22 (98 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f1d00\n// > <???> @ 0x1800f21e8\n// > <???> @ 0x1800f2d98\n// > <???> @ 0x18010a1d8\n// > <???> @ 0x18010d1f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfe68\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:07 +0000\n// \n\n__int64 __fastcall cocos2d::CCSprite::initWithSpriteFrame(cocos2d::CCSprite *this, struct cocos2d::CCSpriteFrame *a2)\n{\n  __int64 v2; // rdi\n  struct cocos2d::CCTexture2D *Texture; // rax\n  unsigned __int8 v6; // bl\n\n  v2 = *(_QWORD *)this;\n  Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n  v6 = (*(__int64 (__fastcall **)(cocos2d::CCSprite *, struct cocos2d::CCTexture2D *, char *))(v2 + 896))(\n         this,\n         Texture,\n         (char *)a2 + 92);\n  (*(void (__fastcall **)(cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *))(*(_QWORD *)this + 1008LL))(this, a2);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCSprite::initWithSpriteFrame from 0x18008edc0 to 0x18008ee22 (98 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f1d00\n; > <???> @ 0x1800f21e8\n; > <???> @ 0x1800f2d98\n; > <???> @ 0x18010a1d8\n; > <???> @ 0x18010d1f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfe68\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:07 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008edc0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18008edc5\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x18008edca\npush    r14                                                            ; +0xf, 0x18008edcf\nsub     rsp, 20h                                                       ; +0x11, 0x18008edd1\nmov     rdi, [rcx]                                                     ; +0x15, 0x18008edd5\nmov     r14, rcx                                                       ; +0x18, 0x18008edd8\nmov     rcx, rdx; this                                                 ; +0x1b, 0x18008eddb\nmov     rsi, rdx                                                       ; +0x1e, 0x18008edde\ncall    ?getTexture@CCSpriteFrame@cocos2d@@QEAAPEAVCCTexture2D@2@XZ; cocos2d::CCSpriteFrame::getTexture(void) ; +0x21, 0x18008ede1\nmov     rdx, rax                                                       ; +0x26, 0x18008ede6\nlea     r8, [rsi+5Ch]                                                  ; +0x29, 0x18008ede9\nmov     rcx, r14                                                       ; +0x2d, 0x18008eded\ncall    qword ptr [rdi+380h]                                           ; +0x30, 0x18008edf0\nmov     r8, [r14]                                                      ; +0x36, 0x18008edf6\nmov     rdx, rsi                                                       ; +0x39, 0x18008edf9\nmov     rcx, r14                                                       ; +0x3c, 0x18008edfc\nmovzx   ebx, al                                                        ; +0x3f, 0x18008edff\ncall    qword ptr [r8+3F0h]                                            ; +0x42, 0x18008ee02\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x49, 0x18008ee09\nmovzx   eax, bl                                                        ; +0x4e, 0x18008ee0e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x51, 0x18008ee11\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x56, 0x18008ee16\nadd     rsp, 20h                                                       ; +0x5b, 0x18008ee1b\npop     r14                                                            ; +0x5f, 0x18008ee1f\nretn                                                                   ; +0x61, 0x18008ee21", "xrefs": ["<???> @ 0x1800f1d00", "<???> @ 0x1800f21e8", "<???> @ 0x1800f2d98", "<???> @ 0x18010a1d8", "<???> @ 0x18010d1f0", "<???> @ 0x18014cf68", "<???> @ 0x1801bfe68"], "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"}