//
// sub_100316000 from 0x100316000 to 0x10031604e (78 bytes)
//
// 7 xrefs:
// > cocos2d::CCTileMapAtlas::dCCTileMapAtlas @ 0x10021124a
// > sub_100211260 @ 0x1002112ba
// > sub_1002112D0 @ 0x100211324
// > sub_10087A510 @ 0x10087a556
// > sub_10087A510 @ 0x10087a577
// > sub_10087A510 @ 0x10087a59e
// > sub_10087A5B0 @ 0x10087a62e
//
// 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_100316000(_QWORD *a1)
{
__int64 v2; // rdi
*a1 = off_100B1C890;
a1[40] = off_100B1CCD8;
a1[43] = off_100B1CD58;
v2 = a1[47];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_1002615F0((__int64)a1);
}