//
// sub_1005B4D30 from 0x1005b4d30 to 0x1005b4e15 (229 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b7dd38
//
// 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_1005B4D30(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rax
*(_QWORD *)(a1 - 320) = off_100B7D738;
*(_QWORD *)a1 = off_100B7DD38;
*(_QWORD *)(a1 + 8) = &off_100B7DDA8;
*(_QWORD *)(a1 + 16) = off_100B7DDC0;
*(_QWORD *)(a1 + 24) = off_100B7DDE0;
*(_QWORD *)(a1 + 32) = off_100B7DE08;
*(_QWORD *)(a1 + 88) = off_100B7DE38;
*(_QWORD *)(a1 + 112) = off_100B7DEB8;
*(_QWORD *)(a1 + 224) = off_100B7DED8;
*(_QWORD *)(a1 + 344) = &off_100B7DF20;
*(_QWORD *)(a1 + 352) = off_100B7DF38;
*(_QWORD *)(a1 + 696) = off_100B7DF58;
v2 = cocos2d::CCDirector::sharedDirector();
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 134) = 0;
if ( *(_BYTE *)(a1 + 734) == 1 )
{
v3 = cocos2d::CCTextureCache::sharedTextureCache(v2);
cocos2d::CCTextureCache::removeTextureForKey(v3, "controller_outline.png");
}
return SetupTriggerPopup::dSetupTriggerPopup(a1 - 320);
}