//
// sub_100995D80 from 0x100995d80 to 0x100995dea (106 bytes)
//
// 1 xrefs:
// > sub_1009948B0 @ 0x1009950ad
//
// 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:39:11 +0000
//
void __fastcall sub_100995D80(__int64 a1)
{
__int64 v1; // rsi
_DWORD *v2; // rbx
__int64 v3; // r14
int HighestChildZ; // ecx
int v5; // eax
v1 = *(_QWORD *)(a1 + 872);
if ( *(int *)(v1 + 372) > 0 )
{
v2 = InfoLayer::create(0, v1, 0, 0);
v3 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
HighestChildZ = cocos2d::CCScene::getHighestChildZ(v3);
v5 = 110;
if ( HighestChildZ >= 110 )
v5 = cocos2d::CCScene::getHighestChildZ(v3) + 1;
v2[148] = v5;
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1312LL))(v2);
}
}