//
// CCSpriteWithHue::initWithTexture_2 from 0x100238690 to 0x10023870c (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x100904140
// > ??> @ 0x100904708
//
// This function is hookable on this platform (idp: arm, 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:01:20 +0000
//
__int64 __fastcall CCSpriteWithHue::initWithTexture_2(__int64 a1, __int64 a2)
{
double v4; // d0
double v5; // d0
__int64 v7; // [xsp+8h] [xbp-38h] BYREF
__int64 v8; // [xsp+10h] [xbp-30h] BYREF
__int64 v9; // [xsp+18h] [xbp-28h] BYREF
v4 = sub_1000264D4(&v8, (__int64)&unk_1009F4D60);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64, double))(*(_QWORD *)a2 + 144LL))(&v7, a2, v4);
v5 = sub_100026450(&v9, (double *)&v7);
return (*(__int64 (__fastcall **)(__int64, __int64, __int64 *, double))(*(_QWORD *)a1 + 1016LL))(a1, a2, &v8, v5);
}