//
// sub_100316640 from 0x100316640 to 0x100316660 (32 bytes)
//
// 3 xrefs:
// > ??> @ 0x100ae5780
// > ??> @ 0x100b1cce0
// > ??> @ 0x100ba2ba8
//
// 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 12:28:40 +0000
//
__int64 __fastcall sub_100316640(__int64 a1)
{
if ( *(_BYTE *)(a1 + 64) == 1 )
return a1 + 48;
else
return cocos2d::CCNodeRGBA::getColor(a1 - 320);
}