// // GJGarageLayer::dialogClosed from 0x140380fe0 to 0x14038121f (575 bytes) // // 2 xrefs: // > @ 0x14076f738 // > @ 0x14092291c // // This function is hookable on this platform (idp: pc, 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 11:31:05 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall GJGarageLayer::dialogClosed(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rdx __int64 v7; // rcx __int64 v8; // r8 __int64 v9; // rax __int64 v10; // rax __int64 v11; // rcx __int64 v12; // rax const struct cocos2d::CCPoint *v13; // rax char *v14; // rsi const struct cocos2d::CCPoint *v15; // rax const struct cocos2d::CCPoint *v16; // rbx __int64 BrowserItem; // rdi __int64 v18; // rax _BYTE v19[8]; // [rsp+60h] [rbp-58h] BYREF __int128 v20; // [rsp+68h] [rbp-50h] BYREF __int64 v21; // [rsp+78h] [rbp-40h] __int64 v22; // [rsp+80h] [rbp-38h] float v23; // [rsp+C0h] [rbp+8h] BYREF float v24; // [rsp+C4h] [rbp+Ch] void *v25; // [rsp+D0h] [rbp+18h] BYREF char v26; // [rsp+D8h] [rbp+20h] BYREF v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v25 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v25); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } v5 = AchievementManager::sharedState(a1, a2, a3); if ( (int)AchievementManager::percentForAchievement(v5, (__int64)"geometry.ach.rate") < 100 ) { v20 = 0; v21 = 0; v22 = 0; sub_14003D230(&v20, "geometry.ach.rate", 0x11u); GameManager::completedAchievement(v4, (__int64)&v20); v9 = AchievementManager::sharedState(v7, v6, v8); AchievementManager::reportAchievementWithID(v9, (__int64)"geometry.ach.rate", 100); } v10 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v25 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v25); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v10 = qword_14090BFD0; } *(_BYTE *)(v10 + 716) = 1; *(_BYTE *)(v10 + 1056) = 1; (**(void (__fastcall ***)(__int64))(a1 - 16))(a1 - 16); v12 = cocos2d::CCDirector::sharedDirector(v11); cocos2d::CCDirector::getWinSize(v12, &v23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, v23 * 0.5, v24 * 0.5); v14 = CurrencyRewardLayer::create(0, 0, 0, 0, 0, 0, 0, 0, v13, 0, 0, 1065353216); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)(a1 - 440) + 456LL))(a1 - 440, v14, 100); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v26, v23 * 0.5, v24 * 0.5); v16 = v15; BrowserItem = GJItemIcon::createBrowserItem(1, 13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v16); CurrencyRewardLayer::createObjectsFull((__int64)v14, 0, 1, BrowserItem, v18, 0.5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source