//
// EditorSoundConfigInfoLayer::onInfo from 0xccca94 to 0xcccb0c (120 bytes)
//
// 3 xrefs:
// > ??> @ 0xb26c0
// > EditorSoundConfigInfoLayer::init @ 0xcd1b9c
// > ??> @ 0x1545170
//
// This function is hookable on this platform (idp: arm, 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 13:06:24 +0000
//
_QWORD *__fastcall EditorSoundConfigInfoLayer::onInfo(
_QWORD *this,
cocos2d::CCObject *a2,
__int64 a3,
__int64 a4,
GJEditorSoundConfig *a5)
{
GJLevelList *v5; // x3
_QWORD *v6; // x19
cocos2d::CCScene *v7; // x20
int HighestChildZ; // w0
int v9; // w1
__int64 v10; // x2
v5 = (GJLevelList *)*(this + 136);
if ( v5 )
{
this = (_QWORD *)InfoLayer::create(nullptr, nullptr, nullptr, v5, a5);
v6 = this;
if ( this )
{
v7 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 272);
HighestChildZ = cocos2d::CCScene::getHighestChildZ(v7);
v9 = 110;
if ( HighestChildZ > 109 )
v9 = cocos2d::CCScene::getHighestChildZ(v7) + 1;
v10 = *v6;
*((_DWORD *)v6 + 148) = v9;
return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(v10 + 1312))(v6);
}
}
return this;
}