//
// sub_100933190 from 0x100933190 to 0x10093332f (415 bytes)
//
// 1 xrefs:
// > sub_10092F040 @ 0x10092f059
//
// 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:38:25 +0000
//
char *__fastcall sub_100933190(__int64 a1, __int64 a2)
{
char *v2; // rbx
__int64 (__fastcall **v3)(); // rax
int v4; // r14d
__int64 v5; // rax
v2 = (char *)operator new(0x478u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v2);
v3 = off_100BC8308;
*(_QWORD *)v2 = off_100BC8308;
*((_QWORD *)v2 + 40) = off_100BC8948;
*((_QWORD *)v2 + 41) = &off_100BC89B8;
*((_QWORD *)v2 + 42) = off_100BC89D0;
*((_QWORD *)v2 + 43) = off_100BC89F0;
*((_QWORD *)v2 + 44) = off_100BC8A18;
*((_QWORD *)v2 + 51) = off_100BC8A48;
*((_QWORD *)v2 + 54) = off_100BC8AC8;
*((_QWORD *)v2 + 68) = off_100BC8AE8;
*((_QWORD *)v2 + 83) = &off_100BC8B30;
*((_QWORD *)v2 + 84) = off_100BC8B48;
*((_QWORD *)v2 + 127) = off_100BC8B68;
*((_QWORD *)v2 + 128) = off_100BC8BE8;
*(_OWORD *)(v2 + 1032) = 0;
*(_OWORD *)(v2 + 1044) = 0;
*(_OWORD *)(v2 + 1064) = 0;
*(_OWORD *)(v2 + 1080) = 0;
*(_OWORD *)(v2 + 1096) = 0;
*((_WORD *)v2 + 556) = 0;
*((_OWORD *)v2 + 70) = 0;
*((_QWORD *)v2 + 142) = 0;
if ( !a1 )
goto LABEL_5;
*((_QWORD *)v2 + 130) = a2;
*((_QWORD *)v2 + 129) = a1;
cocos2d::CCObject::retain(a1);
v4 = *(_DWORD *)(*((_QWORD *)v2 + 129) + 200LL);
v5 = GJAccountManager::sharedState(a1, a2);
if ( !(unsigned __int8)ThreadDescPopup::buildUI(
v2,
v4 == *(_DWORD *)(v5 + 352) - *(_DWORD *)(v5 + 356),
*((_QWORD *)v2 + 129) + 216LL,
*((_QWORD *)v2 + 129) + 240LL) )
{
v3 = *(__int64 (__fastcall ***)())v2;
LABEL_5:
((void (__fastcall *)(char *))v3[2])(v2);
return nullptr;
}
cocos2d::CCObject::autorelease((__int64)v2);
return v2;
}