// // GJGarageLayer::dialogClosed from 0x50d88c to 0x50d97c (240 bytes) // // 1 xrefs: // > `non-virtual thunk to'GJGarageLayer::dialogClosed @ 0x50d988 // // 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:29 +0000 // int __fastcall GJGarageLayer::dialogClosed(GJGarageLayer *this, DialogLayer *a2) { GameManager *v3; // r0 GameManager *v4; // r0 GameManager *v5; // r0 cocos2d::CCDirector *v6; // r0 int v7; // r8 int *BrowserItem; // r6 float v10; // [sp+24h] [bp-14h] BYREF float v11; // [sp+28h] [bp-10h] _BYTE v12[8]; // [sp+2Ch] [bp-Ch] BYREF v3 = (GameManager *)GameManager::sharedState(this); v4 = (GameManager *)GameManager::reportAchievementWithID(v3, "geometry.ach.rate", (const char *)&dword_64, 0); v5 = (GameManager *)GameManager::sharedState(v4); *((_BYTE *)v5 + 488) = 1; *(_BYTE *)(GameManager::sharedState(v5) + 812) = 1; v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(GJGarageLayer *))(*(_DWORD *)this + 596))(this); cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v10 * 0.5, v11 * 0.5); v7 = CurrencyRewardLayer::create(0, 0, 0, 0, 0, 0, 0, 0, (int)v12, 0, 0.0, 1.0); (*(void (__fastcall **)(GJGarageLayer *, int, int))(*(_DWORD *)this + 232))(this, v7, 100); BrowserItem = GJItemIcon::createBrowserItem(1, 13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v10 * 0.5, v11 * 0.5); return ((int (__fastcall *)(_DWORD, _DWORD, _DWORD, _DWORD))CurrencyRewardLayer::createUnlockObject)( v7, BrowserItem, v12, 0.5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source