// // AchievementManager::reportAchievementWithID from 0x14003cff0 to 0x14003d156 (358 bytes) // // 57 xrefs: // > FriendsProfilePage::getUserListFinished @ 0x140215071 // > FriendsProfilePage::getUserListFinished @ 0x140215211 // > FriendsProfilePage::getUserListFinished @ 0x1402153a5 // > FriendsProfilePage::getUserListFinished @ 0x140215529 // > GameLevelManager::uploadLevel @ 0x1402294c4 // > GameLevelManager::rateStars @ 0x140233f5c // > GameLevelManager::onGetNotificationsCompleted @ 0x140250b9b // > GameLevelManager::likeItem @ 0x14025ab70 // > GameManager::reportPercentageForLevel @ 0x140278763 // > GameManager::reportAchievementWithID @ 0x140279161 // > GameManager::checkSteamAchievementUnlock @ 0x14027957a // > GameManager::checkSteamAchievementUnlock @ 0x1402797b9 // > GameManager::applicationWillEnterForeground @ 0x140286db4 // > GameManager::applicationWillEnterForeground @ 0x140286f81 // > GameManager::applicationWillEnterForeground @ 0x14028714e // > GameStatsManager::checkAchievement @ 0x1402db616 // > GameStatsManager::checkAchievement @ 0x1402df0d5 // > GameStatsManager::checkAchievement @ 0x1402df29c // > GameStatsManager::checkAchievement @ 0x1402df463 // > GameStatsManager::checkAchievement @ 0x1402df627 // > GameStatsManager::checkAchievement @ 0x1402df7db // > GameStatsManager::checkAchievement @ 0x1402dffa4 // > GameStatsManager::checkAchievement @ 0x1402e0159 // > GameStatsManager::checkAchievement @ 0x1402e030e // > GameStatsManager::checkAchievement @ 0x1402e04c3 // > GameStatsManager::checkAchievement @ 0x1402e0667 // > GameStatsManager::checkCoinAchievement @ 0x1402e1445 // > GameStatsManager::recountSpecialStats @ 0x1402e8cb3 // > GJGarageLayer::dialogClosed @ 0x1403810a0 // > GJPathPage::unlockAnimationStep3 @ 0x140396b57 // > LevelInfoLayer::updateLabelValues @ 0x140424f39 // > LevelInfoLayer::updateLabelValues @ 0x1404250d3 // > LevelInfoLayer::updateLabelValues @ 0x14042526b // > LevelInfoLayer::updateLabelValues @ 0x140425403 // > LevelInfoLayer::updateLabelValues @ 0x14042559b // > LevelInfoLayer::updateLabelValues @ 0x140425736 // > LevelPage::ccTouchBegan @ 0x140447a7c // > MenuGameLayer::ccTouchBegan @ 0x140471d27 // > MenuLayer::onNews @ 0x14047480d // > ProfilePage::followUserFinished @ 0x140557ef1 // > ProfilePage::followUserFinished @ 0x1405580a4 // > ProfilePage::followUserFinished @ 0x140558250 // > ProfilePage::followUserFinished @ 0x1405583ec // > SecretLayer::onSubmit @ 0x140573f10 // > SecretLayer::onSubmit @ 0x1405742d4 // > SecretLayer::onSubmit @ 0x14057467c // > SecretLayer::onSubmit @ 0x1405749b8 // > SecretLayer2::onSubmit @ 0x14057b2bd // > SecretLayer2::onSubmit @ 0x14057b63a // > SecretLayer2::onSubmit @ 0x14057bac3 // > SecretLayer2::onSubmit @ 0x14057bf4b // > SecretLayer2::onSubmit @ 0x14057c96b // > SecretLayer4::onSubmit @ 0x140586bc2 // > SecretLayer4::onSubmit @ 0x140586eb3 // > SecretLayer4::onSubmit @ 0x1405872f9 // > SecretLayer4::onSubmit @ 0x1405875e4 // > @ 0x14090f038 // // 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:25:27 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall AchievementManager::reportAchievementWithID(__int64 a1, __int64 a2, int a3) { int v6; // eax int v7; // esi __int64 v8; // r8 __int64 v9; // rbx struct cocos2d::CCString *v10; // rax void *v11; // rcx _QWORD *v12; // rax _QWORD *v13; // rax __int64 v14; // rax void *Block[2]; // [rsp+38h] [rbp-40h] BYREF __int128 v16; // [rsp+48h] [rbp-30h] if ( (int)AchievementManager::percentForAchievement(a1, a2) < 100 ) { if ( a3 <= (int)AchievementManager::percentForAchievement(a1, a2) ) { if ( a3 < 100 ) return; goto LABEL_16; } v6 = 100; if ( a3 <= 100 ) v6 = a3; v7 = v6; *(_OWORD *)Block = 0; v16 = 0; v8 = -1; do ++v8; while ( *(_BYTE *)(a2 + v8) ); sub_14003D230(Block); v9 = *(_QWORD *)(a1 + 352); v10 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v7); cocos2d::CCDictionary::setObject(v9, v10, Block); if ( *((_QWORD *)&v16 + 1) > 0xFu ) { v11 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v16 + 1) + 1LL) >= 0x1000 ) { v11 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v11 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v11); } if ( v7 >= 100 ) { if ( *(_BYTE *)(sub_14008B190() + 384) ) { v12 = (_QWORD *)SteamInternal_ContextInit(&off_1408FE060); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v12 + 48LL))(*v12, a2); v13 = (_QWORD *)SteamInternal_ContextInit(&off_1408FE060); (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v13 + 72LL))(*v13); } LABEL_16: v14 = AchievementManager::sharedState(); AchievementManager::notifyAchievementWithID(v14, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source