//
// EditorSoundConfigInfoLayer::onInfo from 0x140195b80 to 0x140195bfe (126 bytes)
//
// 4 xrefs:
// > EditorSoundConfigInfoLayer::init @ 0x140193ef4
// > ??> @ 0x14089fa6c
// > ??> @ 0x14089faa0
// > ??> @ 0x14091946c
//
// 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 11:27:45 +0000
//
void __fastcall EditorSoundConfigInfoLayer::onInfo(__int64 a1)
{
__int64 v1; // r9
__int64 v2; // rcx
_DWORD *v3; // rbx
cocos2d::CCScene *v4; // rdi
int v5; // eax
v1 = *(_QWORD *)(a1 + 1072);
if ( v1 )
{
v3 = (_DWORD *)InfoLayer::create(0, 0, 0, v1);
if ( v3 )
{
v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v2) + 272);
if ( cocos2d::CCScene::getHighestChildZ(v4) + 1 >= 110 )
v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;
else
v5 = 110;
v3[148] = v5;
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1064LL))(v3);
}
}
}