// // GJGarageLayer::dialogClosed from 0x10036fac0 to 0x10036fbfe (318 bytes) // // 2 xrefs: // > sub_10036FC00 @ 0x10036fc0c // > @ 0x10091bb20 // // 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 __fastcall GJGarageLayer::dialogClosed(GJGarageLayer *a1, DialogLayer *a2) { GameManager *v3; // rax CurrencyRewardLayer *v4; // r14 GJItemIcon *v5; // rbx float v6; // xmm1_4 float v7; // [rsp+8h] [rbp-28h] BYREF float v8; // [rsp+10h] [rbp-20h] BYREF float v9; // [rsp+14h] [rbp-1Ch] v3 = GameManager::sharedState(); GameManager::reportAchievementWithID(v3, "geometry.ach.rate", 100, 0); GameManager::sharedState()->m_ratedGame = 1; GameManager::sharedState()->m_hasRatedGame = 1; ((void (__fastcall *)(GJGarageLayer *))a1->updateRate)(a1); cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v8); sub_10028CBE0(&v7, v8 * 0.5, v9 * 0.5); v4 = CurrencyRewardLayer::create(0, 0, 0, 0, Icon, 0, Icon, 0, 0, (CurrencyRewardType)&v7, 1.0, 0.5); ((void (__fastcall *)(GJGarageLayer *, CurrencyRewardLayer *, __int64))a1->addChild_0)(a1, v4, 100); v5 = GJItemIcon::create( (UnlockType)1, 13, (cocos2d::ccColor3B)-5263441, (cocos2d::ccColor3B)-1, 0, 1, 1, (cocos2d::ccColor3B)-1); v6 = v9 * 0.5; sub_10028CBE0(&v7, v8 * 0.5, v9 * 0.5); CurrencyRewardLayer::createUnlockObject(v4, v5, (cocos2d::CCPoint)1056964608LL, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source