//
// sub_10026E4E0 from 0x10026e4e0 to 0x10026e5c4 (228 bytes)
//
// 4 xrefs:
// > UploadPopup::dUploadPopup @ 0x10026e5d5
// > sub_10026E5E0 @ 0x10026e5ec
// > sub_10026E600 @ 0x10026e609
// > sub_10026E620 @ 0x10026e633
//
// 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:27:36 +0000
//
__int64 __fastcall sub_10026E4E0(_QWORD *a1, double a2)
{
__int64 v3; // rdi
*a1 = off_100AF7CC0;
a1[40] = off_100AF8220;
a1[41] = &off_100AF8290;
a1[42] = off_100AF82A8;
a1[43] = off_100AF82C8;
a1[44] = off_100AF82F0;
a1[51] = off_100AF8320;
a1[54] = off_100AF83A0;
a1[68] = off_100AF83C0;
a1[83] = off_100AF8408;
v3 = a1[84];
if ( v3 )
cocos2d::CCObject::release(v3);
if ( *(_QWORD *)(GameLevelManager::sharedState(a2) + 1272)
&& *(_QWORD **)(GameLevelManager::sharedState(a2) + 1272) == a1 + 83 )
{
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1272) = 0;
}
return sub_1004936F0(a1);
}