//
// InfoLayer::dInfoLayer from 0x100891280 to 0x100891434 (436 bytes)
//
// 4 xrefs:
// > sub_100891440 @ 0x100891445
// > sub_100891450 @ 0x10089145c
// > sub_100891470 @ 0x100891479
// > sub_100891490 @ 0x1008914a3
//
// 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:37:04 +0000
//
__int64 __fastcall InfoLayer::dInfoLayer(__int64 a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
_DWORD *v4; // rdi
_DWORD *v5; // rdi
_DWORD *v6; // rax
*(_QWORD *)a1 = off_100BA7C10;
*(_QWORD *)(a1 + 320) = off_100BA81B0;
*(_QWORD *)(a1 + 328) = &off_100BA8220;
*(_QWORD *)(a1 + 336) = off_100BA8238;
*(_QWORD *)(a1 + 344) = off_100BA8258;
*(_QWORD *)(a1 + 352) = off_100BA8280;
*(_QWORD *)(a1 + 408) = off_100BA82B0;
*(_QWORD *)(a1 + 432) = off_100BA8330;
*(_QWORD *)(a1 + 544) = off_100BA8350;
*(_QWORD *)(a1 + 664) = off_100BA8398;
*(_QWORD *)(a1 + 672) = off_100BA83C8;
*(_QWORD *)(a1 + 680) = &off_100BA8400;
*(_QWORD *)(a1 + 688) = &off_100BA8418;
v2 = *(_DWORD **)(a1 + 696);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD **)(a1 + 704);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(_DWORD **)(a1 + 712);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(_DWORD **)(a1 + 720);
if ( v5 )
cocos2d::CCObject::release(v5);
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1240)
&& *(_QWORD *)(GameLevelManager::sharedState() + 1240) == a1 + 664 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1240) = 0;
}
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1248)
&& *(_QWORD *)(GameLevelManager::sharedState() + 1248) == a1 + 672 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1248) = 0;
}
v6 = cocos2d::CCNotificationCenter::sharedNotificationCenter();
cocos2d::CCNotificationCenter::removeObserver((__int64)v6, (unsigned int *)a1, "CommentCellToggleNotification");
sub_10001ADF0(a1 + 928, *(_QWORD **)(a1 + 936));
if ( (*(_BYTE *)(a1 + 728) & 1) != 0 )
operator delete(*(void **)(a1 + 744));
return sub_1004936F0(a1);
}