//
// GameManager::finishedLoadingMGAsync2 from 0x716c00 to 0x716c50 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0xac078
// > GameManager::loadMiddlegroundAsync @ 0x716b08
// > ??> @ 0x1544df8
//
// This function is hookable on this platform (idp: arm, 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:52:16 +0000
//
GJBaseGameLayer *__fastcall GameManager::finishedLoadingMGAsync2(GJBaseGameLayer *this, cocos2d::CCObject *a2)
{
GameManager *v2; // x19
int v3; // w0
*((_BYTE *)this + 1006) = 1;
if ( *((_BYTE *)this + 1005) )
{
v2 = this;
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
return GameManager::finishedLoadingMGAsync(v2, v3);
}
return this;
}