//
// sub_1005B4B30 from 0x1005b4b30 to 0x1005b4c20 (240 bytes)
//
// 0 xrefs:
//
// 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:32:40 +0000
//
__int64 __fastcall sub_1005B4B30(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rax
*(_QWORD *)a1 = off_100B7D738;
*(_QWORD *)(a1 + 320) = off_100B7DD38;
*(_QWORD *)(a1 + 328) = &off_100B7DDA8;
*(_QWORD *)(a1 + 336) = off_100B7DDC0;
*(_QWORD *)(a1 + 344) = off_100B7DDE0;
*(_QWORD *)(a1 + 352) = off_100B7DE08;
*(_QWORD *)(a1 + 408) = off_100B7DE38;
*(_QWORD *)(a1 + 432) = off_100B7DEB8;
*(_QWORD *)(a1 + 544) = off_100B7DED8;
*(_QWORD *)(a1 + 664) = &off_100B7DF20;
*(_QWORD *)(a1 + 672) = off_100B7DF38;
*(_QWORD *)(a1 + 1016) = off_100B7DF58;
v2 = cocos2d::CCDirector::sharedDirector();
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 134) = 0;
if ( *(_BYTE *)(a1 + 1054) == 1 )
{
v3 = cocos2d::CCTextureCache::sharedTextureCache(v2);
cocos2d::CCTextureCache::removeTextureForKey(v3, "controller_outline.png");
}
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}