//
// CCSpriteWithHue::initWithTexture_2 from 0x140048660 to 0x1400486c0 (96 bytes)
//
// 3 xrefs:
// > ??> @ 0x140530fb0
// > ??> @ 0x1405314f0
// > ??> @ 0x1406c4b9c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool CCSpriteWithHue::initWithTexture_2(CCSpriteWithHue *a1, cocos2d::CCTexture2D *a2)
{
__int64 v4; // rax
cocos2d::CCRect v6; // [rsp+20h] [rbp-18h] BYREF
char v7; // [rsp+40h] [rbp+8h] BYREF
cocos2d::CCRect::CCRect(&v6, &stru_1406C13F0);
v4 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *, char *))a2->getContentSize)(a2, &v7);
cocos2d::CCSize::operator=(&v6.size, v4);
return a1->initWithTexture_0(a1, a2, &v6);
}