// // GJGarageLayer::dialogClosed from 0x404b28 to 0x404c18 (240 bytes) // // 1 xrefs: // > `non-virtual thunk to'GJGarageLayer::dialogClosed @ 0x404c24 // // 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 GJGarageLayer::dialogClosed(GJGarageLayer *a1, DialogLayer *a2) { GameManager *v3; // r0 GameManager *v4; // r0 void (__fastcall *updateRate)(GJGarageLayer *__hidden); // r3 cocos2d::CCDirector *v6; // r0 CurrencyRewardLayer *v7; // r8 GJItemIcon *BrowserItem; // r6 cocos2d::CCPoint v9; // r2 float v10; // [sp+0h] [bp-38h] float v11; // [sp+20h] [bp-18h] cocos2d::CCSize v12; // [sp+24h] [bp-14h] BYREF cocos2d::CCPoint v13; // [sp+2Ch] [bp-Ch] BYREF v3 = GameManager::sharedState(); GameManager::reportAchievementWithID(v3, "geometry.ach.rate", 100, 0); GameManager::sharedState()->m_ratedGame = 1; v4 = GameManager::sharedState(); updateRate = a1->updateRate; v4->m_hasRatedGame = 1; updateRate(a1); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v12, v6); cocos2d::CCPoint::CCPoint(&v13, v12.width * 0.5, v12.height * 0.5); v7 = CurrencyRewardLayer::create( 0, 0, 0, 0, Icon, 0, Icon, 0, (cocos2d::CCPoint)(unsigned int)&v13, (CurrencyRewardType)0, 1.0, v11); a1->addChild_0(a1, v7, 100); BrowserItem = GJItemIcon::createBrowserItem((UnlockType)1, 13); cocos2d::CCPoint::CCPoint(&v13, v12.width * 0.5, v12.height * 0.5); LODWORD(v9.x) = &v13; v9.y = 0.5; CurrencyRewardLayer::createUnlockObject(v7, BrowserItem, v9, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source