//
// GameObject::initWithTexture from 0x14028ae30 to 0x14028ae67 (55 bytes)
//
// 48 xrefs:
// > ??> @ 0x1407549f0
// > ??> @ 0x140755170
// > ??> @ 0x14075e538
// > ??> @ 0x14075ec40
// > ??> @ 0x1407d4b50
// > ??> @ 0x14081f048
// > ??> @ 0x14081f778
// > ??> @ 0x14081ffc0
// > ??> @ 0x140820718
// > ??> @ 0x140820dd0
// > ??> @ 0x140821538
// > ??> @ 0x140821bf0
// > ??> @ 0x1408222d0
// > ??> @ 0x140822988
// > ??> @ 0x140823298
// > ??> @ 0x1408239e0
// > ??> @ 0x140824098
// > ??> @ 0x140824890
// > ??> @ 0x140824f48
// > ??> @ 0x140825600
// > ??> @ 0x140825e70
// > ??> @ 0x140826668
// > ??> @ 0x140826e10
// > ??> @ 0x140827540
// > ??> @ 0x140827bf8
// > ??> @ 0x140828350
// > ??> @ 0x140828b98
// > ??> @ 0x140829250
// > ??> @ 0x1408299d0
// > ??> @ 0x14082a150
// > ??> @ 0x14082a808
// > ??> @ 0x14082aec0
// > ??> @ 0x14082b8d0
// > ??> @ 0x14082c000
// > ??> @ 0x14082c6b8
// > ??> @ 0x14082cd70
// > ??> @ 0x14082d428
// > ??> @ 0x14082dbf8
// > ??> @ 0x14082e3a0
// > ??> @ 0x14082ea58
// > ??> @ 0x14082f110
// > ??> @ 0x14082f7c8
// > ??> @ 0x14082fe80
// > ??> @ 0x140830538
// > ??> @ 0x140830bf0
// > ??> @ 0x140831410
// > ??> @ 0x140831b90
// > ??> @ 0x14091d24c
//
// 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:29:04 +0000
//
bool __fastcall GameObject::initWithTexture(cocos2d::CCSprite *a1, struct cocos2d::CCTexture2D *a2)
{
bool result; // al
*((_DWORD *)a1 + 7) = 13;
result = cocos2d::CCSprite::initWithTexture(a1, a2, (const struct cocos2d::CCRect *)&unk_140909B08);
if ( result )
{
GameObject::commonSetup(a1);
return 1;
}
return result;
}