// // GJGarageLayer::onInfo from 0x8bba50 to 0x8bbbac (348 bytes) // // 3 xrefs: // > @ 0x44cf8 // > GJGarageLayer::init @ 0x8c2d10 // > @ 0x1541460 // // 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:56:27 +0000 // __int64 __fastcall GJGarageLayer::onInfo(GJGarageLayer *this, cocos2d::CCObject *a2) { char *v2; // x20 __int64 v3; // x0 cocos2d::CCString *v4; // x0 const char *CString; // x0 size_t v6; // x0 size_t v7; // x0 __int64 v8; // x20 char *v10; // [xsp+38h] [xbp+38h] __int64 v11[2]; // [xsp+48h] [xbp+48h] BYREF void *v12; // [xsp+58h] [xbp+58h] __int64 v13[2]; // [xsp+60h] [xbp+60h] BYREF void *v14; // [xsp+70h] [xbp+70h] v2 = (char *)v11 + 1; v3 = GameManager::sharedState(_stack_chk_guard); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"UserID: %i", (const char *)(unsigned int)(*(_DWORD *)(v3 + 660) - *(_DWORD *)(v3 + 664))); CString = (const char *)cocos2d::CCString::getCString(v4); v11[0] = 0; v10 = (char *)CString; v11[1] = 0; v12 = nullptr; v6 = strlen(CString); std::string::__init(v11, v10, v6); if ( (v11[0] & 1) != 0 ) v2 = (char *)v12; v13[0] = 0; v13[1] = 0; v14 = nullptr; v7 = strlen(v2); std::string::__init(v13, v2, v7); v8 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"User Info", (char *)v13, (ButtonSprite *)"OK", nullptr, 300.0); if ( (v13[0] & 1) != 0 ) operator delete(v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); if ( (v11[0] & 1) != 0 ) operator delete(v12); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source