// // GJGarageLayer::achievementForUnlock from 0x8bb734 to 0x8bb8a4 (368 bytes) // // 1 xrefs: // > @ 0x55a38 // // 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:27 +0000 // __int64 *__usercall GJGarageLayer::achievementForUnlock@(signed int a1@, int a2@, __int64 *a3@) { __int64 v4; // x0 __int64 *v5; // x0 AchievementManager *v6; // x23 _BOOL4 isAchievementAvailable; // w22 __int64 v8; // x0 size_t v9; // x1 __int64 v13; // [xsp+58h] [xbp+58h] BYREF size_t v14; // [xsp+60h] [xbp+60h] void *v15; // [xsp+68h] [xbp+68h] __int64 v16; // [xsp+70h] [xbp+70h] BYREF size_t v17; // [xsp+78h] [xbp+78h] void *v18; // [xsp+80h] [xbp+80h] v4 = AchievementManager::sharedState(_stack_chk_guard); v5 = AchievementManager::achievementForUnlock(v4, a1, a2, &v13); v6 = (AchievementManager *)AchievementManager::sharedState((AchievementManager *)v5); v16 = 0; v17 = 0; v18 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init(&v16, v15, v14); } else { v18 = v15; v16 = v13; v17 = v14; } isAchievementAvailable = AchievementManager::isAchievementAvailable(v6, (char *)&v16); if ( (v16 & 1) != 0 ) { operator delete(v18); if ( isAchievementAvailable ) goto LABEL_5; } else if ( isAchievementAvailable ) { LABEL_5: v8 = v13; v9 = v14; a3[2] = (__int64)v15; v13 = 0; v14 = 0; v15 = nullptr; *a3 = v8; a3[1] = v9; goto LABEL_6; } *a3 = 0; a3[1] = 0; a3[2] = 0; std::string::__init(a3, &byte_11B8890, 0); LABEL_6: if ( (v13 & 1) != 0 ) operator delete(v15); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source