// // GJGarageLayer::dialogClosed from 0x8be0bc to 0x8be20c (336 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJGarageLayer::dialogClosed @ 0x8be210 // > @ 0xca258 // > @ 0x145aba8 // // 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:29 +0000 // __int64 __fastcall GJGarageLayer::dialogClosed(GJGarageLayer *this, DialogLayer *a2) { GameManager *v3; // x0 GameManager *v4; // x0 GameManager *v5; // x0 cocos2d::CCDirector *v6; // x0 cocos2d::CCDirector *v7; // x0 __int64 v8; // x22 __int64 BrowserItem; // [xsp+58h] [xbp+48h] __int64 v11; // [xsp+68h] [xbp+58h] BYREF _BYTE v12[8]; // [xsp+70h] [xbp+60h] BYREF v3 = (GameManager *)GameManager::sharedState(_stack_chk_guard); v4 = (GameManager *)GameManager::reportAchievementWithID(v3, "geometry.ach.rate", 100, 0); v5 = (GameManager *)GameManager::sharedState(v4); *((_BYTE *)v5 + 684) = 1; *(_BYTE *)(GameManager::sharedState(v5) + 1024) = 1; v6 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(GJGarageLayer *))(*(_QWORD *)this + 1192LL))(this); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(&v11, v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, *(float *)&v11 * 0.5, *((float *)&v11 + 1) * 0.5); v8 = CurrencyRewardLayer::create(0, 0, 0, 0, 0, 0, 0, 0, 0.0, 1.0, v12, 0); (*(void (__fastcall **)(GJGarageLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v8, 100); BrowserItem = GJItemIcon::createBrowserItem(1, 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, *(float *)&v11 * 0.5, *((float *)&v11 + 1) * 0.5); CurrencyRewardLayer::createUnlockObject(v8, BrowserItem, v12, 0.5); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source