{"type": "func", "start": 5369005664, "end": 5369005760, "name": "CCSpriteWithHue::initWithTexture_2", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture_2 from 0x140048660 to 0x1400486c0 (96 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140530fb0\n// > <???> @ 0x1405314f0\n// > <???> @ 0x1406c4b9c\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\nbool CCSpriteWithHue::initWithTexture_2(CCSpriteWithHue *a1, cocos2d::CCTexture2D *a2)\n{\n  __int64 v4; // rax\n  cocos2d::CCRect v6; // [rsp+20h] [rbp-18h] BYREF\n  char v7; // [rsp+40h] [rbp+8h] BYREF\n\n  cocos2d::CCRect::CCRect(&v6, &stru_1406C13F0);\n  v4 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *, char *))a2->getContentSize)(a2, &v7);\n  cocos2d::CCSize::operator=(&v6.size, v4);\n  return a1->initWithTexture_0(a1, a2, &v6);\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture_2 from 0x140048660 to 0x1400486c0 (96 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140530fb0\n; > <???> @ 0x1405314f0\n; > <???> @ 0x1406c4b9c\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_8], rbx                                               ; +0x0, 0x140048660\npush    rdi                                                            ; +0x5, 0x140048665\nsub     rsp, 30h                                                       ; +0x6, 0x140048666\nmov     rbx, rdx                                                       ; +0xa, 0x14004866a\nmov     rdi, rcx                                                       ; +0xd, 0x14004866d\nlea     rdx, stru_1406C13F0                                            ; +0x10, 0x140048670\nlea     rcx, [rsp+38h+var_18]                                          ; +0x17, 0x140048677\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x1c, 0x14004867c\nmov     rax, [rbx]                                                     ; +0x22, 0x140048682\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x25, 0x140048685\nmov     rcx, rbx                                                       ; +0x2a, 0x14004868a\ncall    qword ptr [rax+88h]                                            ; +0x2d, 0x14004868d\nmov     rdx, rax                                                       ; +0x33, 0x140048693\nlea     rcx, [rsp+38h+var_10]                                          ; +0x36, 0x140048696\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x3b, 0x14004869b\nmov     rax, [rdi]                                                     ; +0x41, 0x1400486a1\nlea     r8, [rsp+38h+var_18]                                           ; +0x44, 0x1400486a4\nmov     rdx, rbx                                                       ; +0x49, 0x1400486a9\nmov     rcx, rdi                                                       ; +0x4c, 0x1400486ac\ncall    qword ptr [rax+370h]                                           ; +0x4f, 0x1400486af\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x55, 0x1400486b5\nadd     rsp, 30h                                                       ; +0x5a, 0x1400486ba\npop     rdi                                                            ; +0x5e, 0x1400486be\nretn                                                                   ; +0x5f, 0x1400486bf", "xrefs": ["<???> @ 0x140530fb0", "<???> @ 0x1405314f0", "<???> @ 0x1406c4b9c"], "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"}