//
// EditorSoundConfigInfoLayer::reloadWindow from 0xcd2d20 to 0xcd2de4 (196 bytes)
//
// 2 xrefs:
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd47e0
// > ??> @ 0x98d40
//
// 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:28 +0000
//
__int64 __fastcall EditorSoundConfigInfoLayer::reloadWindow(EditorSoundConfigInfoLayer *this)
{
cocos2d::CCObject *v2; // x20
int v3; // w21
__int64 v4; // x0
__int64 result; // x0
int v6; // w20
__int64 v7; // [xsp+38h] [xbp+38h]
__int64 v8; // [xsp+38h] [xbp+38h]
v2 = *((cocos2d::CCObject **)this + 136);
if ( v2 )
{
cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 136));
v3 = *((_DWORD *)this + 274);
v7 = *((_QWORD *)this + 138);
(*(void (__fastcall **)(EditorSoundConfigInfoLayer *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0);
v4 = EditorSoundConfigInfoLayer::create(v2, v3, v7);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
return cocos2d::CCObject::release(v2);
}
else
{
v8 = *((_QWORD *)this + 138);
v6 = *((_DWORD *)this + 274);
(*(void (__fastcall **)(EditorSoundConfigInfoLayer *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0);
result = EditorSoundConfigInfoLayer::create(nullptr, v6, v8);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1312LL))(result);
}
return result;
}