{"type": "func", "start": 5369022336, "end": 5369022435, "name": "CCSpriteWithHue::initWithSpriteFrame", "pseudocode": "// \n// CCSpriteWithHue::initWithSpriteFrame from 0x14004c780 to 0x14004c7e3 (99 bytes)\n// \n// 7 xrefs:\n// > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c663\n// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d203\n// > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c651\n// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d1f1\n// > <???> @ 0x14070bc48\n// > <???> @ 0x14070c198\n// > <???> @ 0x140910094\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:25:33 +0000\n// \n\n__int64 __fastcall CCSpriteWithHue::initWithSpriteFrame(__int64 *a1, cocos2d::CCSpriteFrame *a2)\n{\n  __int64 v2; // rdi\n  struct cocos2d::CCTexture2D *Texture; // rax\n  unsigned __int8 v6; // bl\n\n  v2 = *a1;\n  Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n  v6 = (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCTexture2D *, __int64))(v2 + 896))(\n         a1,\n         Texture,\n         (__int64)a2 + 92);\n  (*(void (__fastcall **)(__int64 *, cocos2d::CCSpriteFrame *))(*a1 + 1008))(a1, a2);\n  return v6;\n}", "assembly": "; \n; CCSpriteWithHue::initWithSpriteFrame from 0x14004c780 to 0x14004c7e3 (99 bytes)\n; \n; 7 xrefs:\n; > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c663\n; > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d203\n; > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c651\n; > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d1f1\n; > <???> @ 0x14070bc48\n; > <???> @ 0x14070c198\n; > <???> @ 0x140910094\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:25:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14004c780\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14004c785\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x14004c78a\npush    r14                                                            ; +0xf, 0x14004c78f\nsub     rsp, 20h                                                       ; +0x11, 0x14004c791\nmov     rdi, [rcx]                                                     ; +0x15, 0x14004c795\nmov     r14, rcx                                                       ; +0x18, 0x14004c798\nmov     rcx, rdx                                                       ; +0x1b, 0x14004c79b\nmov     rsi, rdx                                                       ; +0x1e, 0x14004c79e\ncall    cs:?getTexture@CCSpriteFrame@cocos2d@@QEAAPEAVCCTexture2D@2@XZ; cocos2d::CCSpriteFrame::getTexture(void) ; +0x21, 0x14004c7a1\nlea     r8, [rsi+5Ch]                                                  ; +0x27, 0x14004c7a7\nmov     rcx, r14                                                       ; +0x2b, 0x14004c7ab\nmov     rdx, rax                                                       ; +0x2e, 0x14004c7ae\ncall    qword ptr [rdi+380h]                                           ; +0x31, 0x14004c7b1\nmov     r8, [r14]                                                      ; +0x37, 0x14004c7b7\nmov     rdx, rsi                                                       ; +0x3a, 0x14004c7ba\nmov     rcx, r14                                                       ; +0x3d, 0x14004c7bd\nmovzx   ebx, al                                                        ; +0x40, 0x14004c7c0\ncall    qword ptr [r8+3F0h]                                            ; +0x43, 0x14004c7c3\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4a, 0x14004c7ca\nmovzx   eax, bl                                                        ; +0x4f, 0x14004c7cf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x14004c7d2\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x57, 0x14004c7d7\nadd     rsp, 20h                                                       ; +0x5c, 0x14004c7dc\npop     r14                                                            ; +0x60, 0x14004c7e0\nretn                                                                   ; +0x62, 0x14004c7e2", "xrefs": ["CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c663", "CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d203", "CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c651", "CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d1f1", "<???> @ 0x14070bc48", "<???> @ 0x14070c198", "<???> @ 0x140910094"], "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"}