//
// sub_1009A4AD0 from 0x1009a4ad0 to 0x1009a4c37 (359 bytes)
//
// 15 xrefs:
// > sub_100897BA0 @ 0x100897cac
// > sub_10098F4C0 @ 0x10098f5c3
// > sub_10098F7B0 @ 0x10098f8b3
// > sub_10098FAA0 @ 0x10098fba3
// > sub_10098FEB0 @ 0x10098ffb3
// > sub_100990040 @ 0x10099013d
// > sub_100990250 @ 0x10099031f
// > sub_1009903D0 @ 0x1009904d3
// > sub_1009905E0 @ 0x1009906e3
// > sub_100990C20 @ 0x100990c55
// > sub_100990D00 @ 0x100990dfd
// > sub_100990F10 @ 0x100991013
// > AccountReviewPopup::reviewChoicePicked @ 0x1009a2bd9
// > AccountReviewPopup::reviewChoicePicked @ 0x1009a2c79
// > sub_1009A5740 @ 0x1009a57e8
//
// 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:39:18 +0000
//
char *__fastcall sub_1009A4AD0(int a1, int a2, int a3, int a4, int a5, __int64 a6, std::string *__str, char a8)
{
char *v10; // rbx
v10 = (char *)operator new(0x458u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v10);
*(_QWORD *)v10 = off_100BD7A40;
*((_QWORD *)v10 + 40) = off_100BD8030;
*((_QWORD *)v10 + 41) = &off_100BD80A0;
*((_QWORD *)v10 + 42) = off_100BD80B8;
*((_QWORD *)v10 + 43) = off_100BD80D8;
*((_QWORD *)v10 + 44) = off_100BD8100;
*((_QWORD *)v10 + 51) = off_100BD8130;
*((_QWORD *)v10 + 54) = off_100BD81B0;
*((_QWORD *)v10 + 68) = off_100BD81D0;
*((_QWORD *)v10 + 83) = &off_100BD8218;
*((_QWORD *)v10 + 84) = off_100BD8230;
*((_QWORD *)v10 + 127) = 0;
*((_DWORD *)v10 + 256) = 0;
*(_OWORD *)(v10 + 1032) = 0;
*(_OWORD *)(v10 + 1048) = 0;
*(_OWORD *)(v10 + 1064) = 0;
*(_OWORD *)(v10 + 1080) = 0;
*(_OWORD *)(v10 + 1096) = 0;
if ( (unsigned __int8)sub_1009A4C50((int)v10, a1, a2, a3, a4, a5, a6, __str, a8) )
{
cocos2d::CCObject::autorelease((__int64)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return v10;
}