//
// CCSpriteWithHue::initWithTexture_2 from 0x14004c710 to 0x14004c770 (96 bytes)
//
// 3 xrefs:
// > ??> @ 0x14070bc40
// > ??> @ 0x14070c190
// > ??> @ 0x140910088
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:25:33 +0000
//
__int64 __fastcall CCSpriteWithHue::initWithTexture_2(__int64 a1, __int64 a2)
{
__int64 v4; // rax
_BYTE v6[8]; // [rsp+20h] [rbp-18h] BYREF
_BYTE v7[16]; // [rsp+28h] [rbp-10h] BYREF
char v8; // [rsp+40h] [rbp+8h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const struct cocos2d::CCRect *)&unk_140909B28);
v4 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)a2 + 136LL))(a2, &v8);
cocos2d::CCSize::operator=(v7, v4);
return (*(__int64 (__fastcall **)(__int64, __int64, _BYTE *))(*(_QWORD *)a1 + 896LL))(a1, a2, v6);
}