//
// sub_100495DC0 from 0x100495dc0 to 0x100495e65 (165 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b50830
//
// 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:30:48 +0000
//
__int64 __fastcall sub_100495DC0(_QWORD *a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
*(a1 - 40) = off_100B50378;
*a1 = off_100B50830;
a1[1] = &off_100B508A0;
a1[2] = off_100B508B8;
a1[3] = off_100B508D8;
a1[4] = off_100B50900;
a1[11] = off_100B50930;
a1[12] = &off_100B50978;
a1[13] = &off_100B50990;
v2 = (_DWORD *)a1[20];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[23];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_1004A9420(a1 - 40);
}