//
// SetTextPopup::dSetTextPopup from 0x1002df700 to 0x1002df77c (124 bytes)
//
// 8 xrefs:
// > j_SetTextPopup::dSetTextPopup @ 0x10016b180
// > sub_10016B184 @ 0x10016b18c
// > sub_10016B198 @ 0x10016b19c
// > sub_10016B1A0 @ 0x10016b1ac
// > j_SetTextPopup::dSetTextPopup_0 @ 0x1002df780
// > sub_1002DF784 @ 0x1002df788
// > sub_1002DF78C @ 0x1002df794
// > sub_1002DF7A0 @ 0x1002df7ac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall SetTextPopup::dSetTextPopup(__int64 a1)
{
*(_QWORD *)a1 = &off_1007DC5A8;
*(_QWORD *)(a1 + 320) = off_1007DCAD8;
*(_QWORD *)(a1 + 328) = &off_1007DCB48;
*(_QWORD *)(a1 + 336) = off_1007DCB60;
*(_QWORD *)(a1 + 344) = off_1007DCB80;
*(_QWORD *)(a1 + 352) = off_1007DCBA0;
*(_QWORD *)(a1 + 408) = off_1007DCBC8;
*(_QWORD *)(a1 + 432) = off_1007DCC48;
*(_QWORD *)(a1 + 632) = off_1007DCC68;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
if ( *(char *)(a1 + 679) < 0 )
operator delete(*(void **)(a1 + 656));
return FLAlertLayer::dFLAlertLayer(a1);
}