//
// GJGarageLayer::onInfo from 0x1003045e0 to 0x1003046a8 (200 bytes)
//
// 1 xrefs:
// > GJGarageLayer::init @ 0x1003030c0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJGarageLayer::onInfo(GJGarageLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // x0
cocos2d::CCString *v3; // x0
char *CString; // x0
char *v5; // x1
FLAlertLayer *v6; // x19
void *__p[2]; // [xsp+10h] [xbp-40h] BYREF
char v8; // [xsp+27h] [xbp-29h]
void *v9[2]; // [xsp+28h] [xbp-28h] BYREF
char v10; // [xsp+3Fh] [xbp-11h]
v2 = GameManager::sharedState();
v3 = (cocos2d::CCString *)sub_100268F4C("UserID: %i", v2->m_playerUserID.random - v2->m_playerUserID.seed);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(v9, CString);
if ( v10 >= 0 )
v5 = (char *)v9;
else
v5 = (char *)v9[0];
sub_100009900(__p, v5);
v6 = FLAlertLayer::create_1(0, (__int64)"User Info", (__int64)__p, (__int64)"OK", 0, 300.0);
if ( v8 < 0 )
operator delete(__p[0]);
((void (__fastcall *)(FLAlertLayer *))v6->show)(v6);
if ( v10 < 0 )
operator delete(v9[0]);
}