// // GJGarageLayer::dialogClosed from 0x794a3c to 0x794b8c (336 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJGarageLayer::dialogClosed @ 0x794b90 // > @ 0x99270 // > @ 0x1178ab8 // // 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; // x0 GameManager *v4; // x0 GJGarageLayer_vtbl *v5; // x1 cocos2d::CCDirector *v6; // x0 float v7; // s2 float v8; // s3 CurrencyRewardLayer *v9; // x22 float v10; // s2 GJItemIcon *BrowserItem; // [xsp+58h] [xbp+48h] float v12; // [xsp+68h] [xbp+58h] float v13; // [xsp+6Ch] [xbp+5Ch] cocos2d::CCPoint v14; // [xsp+70h] [xbp+60h] BYREF cocos2d::CCPoint v15; // 0:s0.4,4:s1.4 cocos2d::CCPoint v16; // 0:s0.4,4:s1.4 v3 = GameManager::sharedState(); GameManager::reportAchievementWithID(v3, "geometry.ach.rate", 100, 0); GameManager::sharedState()->m_ratedGame = 1; v4 = GameManager::sharedState(); v5 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4->m_hasRatedGame = 1; v5->updateRate(a1); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6); cocos2d::CCPoint::CCPoint(&v14, v12 * 0.5, v13 * 0.5); v15.x = 0.0; v15.y = 1.0; v9 = CurrencyRewardLayer::create(0, 0, 0, 0, Icon, 0, Icon, 0, v15, (CurrencyRewardType)&v14, v7, v8); a1->addChild_0(a1, v9, 100); BrowserItem = GJItemIcon::createBrowserItem((UnlockType)1, 13); cocos2d::CCPoint::CCPoint(&v14, v12 * 0.5, v13 * 0.5); v16.x = 0.5; CurrencyRewardLayer::createUnlockObject(v9, BrowserItem, v16, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source