// // GJGarageLayer::onInfo from 0x50c3c4 to 0x50c47e (186 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:28 +0000 // int __fastcall GJGarageLayer::onInfo(GJGarageLayer *this, cocos2d::CCObject *a2) { int v2; // r0 cocos2d::CCString *v3; // r0 char *CString; // r7 size_t v5; // r0 size_t v6; // r0 int *v7; // r7 int v9[2]; // [sp+Ch] [bp-20h] BYREF char *v10; // [sp+14h] [bp-18h] int v11[3]; // [sp+18h] [bp-14h] BYREF v2 = GameManager::sharedState(this); v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"UserID: %i", (const char *)(*(_DWORD *)(v2 + 464) - *(_DWORD *)(v2 + 468))); v9[0] = 0; v9[1] = 0; v10 = nullptr; CString = (char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); std::string::__init(v9, CString, v5); v11[0] = 0; v11[1] = 0; if ( (v9[0] & 1) == 0 ) CString = (char *)v9 + 1; v11[2] = 0; if ( (v9[0] & 1) != 0 ) CString = v10; v6 = strlen(CString); std::string::__init(v11, CString, v6); v7 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"User Info", (int)v11, (ButtonSprite *)"OK", nullptr, 300.0); std::string::~string((int)v11); (*(void (__fastcall **)(int *))(*v7 + 656))(v7); return std::string::~string((int)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source