//
// sub_1008F9520 from 0x1008f9520 to 0x1008f959e (126 bytes)
//
// 1 xrefs:
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x1008fceec
//
// 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:37:59 +0000
//
char __fastcall sub_1008F9520(__int64 a1)
{
_DWORD *v1; // rbx
unsigned int v2; // r14d
__int64 v3; // r15
char *v4; // rax
v1 = *(_DWORD **)(a1 + 1088);
if ( v1 )
cocos2d::CCObject::retain(*(_QWORD *)(a1 + 1088));
v2 = *(_DWORD *)(a1 + 1096);
v3 = *(_QWORD *)(a1 + 1104);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);
v4 = sub_1008F3580((__int64)v1, v2, v3);
if ( v4 )
LOBYTE(v4) = (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4);
if ( v1 )
LOBYTE(v4) = cocos2d::CCObject::release(v1);
return (char)v4;
}