//
// sub_100518970 from 0x100518970 to 0x10051899f (47 bytes)
//
// 20 xrefs:
// > ??> @ 0x100b6bb00
// > ??> @ 0x100b6bba8
// > ??> @ 0x100b6bc50
// > ??> @ 0x100b6bcf8
// > ??> @ 0x100b6bda0
// > ??> @ 0x100b6be48
// > ??> @ 0x100b6bef0
// > ??> @ 0x100b6bf98
// > ??> @ 0x100b6c040
// > ??> @ 0x100b6c0e8
// > ??> @ 0x100b6c190
// > ??> @ 0x100b6c238
// > ??> @ 0x100b6c2e0
// > ??> @ 0x100b6c388
// > ??> @ 0x100b6c430
// > ??> @ 0x100b6c4d8
// > ??> @ 0x100b6c580
// > ??> @ 0x100b6c628
// > ??> @ 0x100b6c6d0
// > ??> @ 0x100b6c778
//
// 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:31:40 +0000
//
__int64 __fastcall sub_100518970(_QWORD *a1)
{
_DWORD *v2; // rdi
*a1 = off_100B6B9A8;
v2 = (_DWORD *)a1[12];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_1006C6F90(a1);
}