// // AchievementBar::show from 0x1006f6d40 to 0x1006f6f8f (591 bytes) // // 1 xrefs: // > AchievementNotifier::showNextAchievement @ 0x1008aa5cf // // 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 12:35:53 +0000 // __int64 __fastcall AchievementBar::show(__int64 *a1) { __int64 v1; // rax __int64 v2; // r14 int HighestChildZ; // eax __int64 v4; // rdx _OWORD *v5; // rax _OWORD *v6; // rax __int64 v7; // rax __int64 v8; // r14 _OWORD *v9; // r14 __int64 v10; // rax __int64 v11; // rax __int64 v12; // rax _OWORD *v13; // r14 _OWORD *v14; // rax _OWORD *v15; // rax __int64 v16; // rax _OWORD *v17; // rax _OWORD *v18; // rax _OWORD *v19; // rax _OWORD *v20; // r14 _OWORD *v21; // r15 _OWORD *v22; // rax _OWORD *v23; // rax __int64 v24; // rax float v26; // [rsp+8h] [rbp-28h] BYREF __int64 v27; // [rsp+10h] [rbp-20h] BYREF v1 = cocos2d::CCDirector::sharedDirector(); v2 = a1[45]; if ( !v2 ) v2 = *(_QWORD *)(v1 + 272); HighestChildZ = cocos2d::CCScene::getHighestChildZ(v2); v4 = 1000; if ( HighestChildZ >= 1000 ) v4 = (unsigned int)cocos2d::CCScene::getHighestChildZ(v2) + 1; (*(void (__fastcall **)(__int64, __int64 *, __int64))(*(_QWORD *)v2 + 464LL))(v2, a1, v4); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1[43] + 160LL))(a1[43], 1.2); v5 = cocos2d::CCScaleTo::create_1((__m128)0x3ECCCCCDu, 1.0); v6 = cocos2d::CCEaseInOut::create((__int64)v5, 2.0); cocos2d::CCNode::runAction(a1[43], (__int64)v6); v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v27, v7); v8 = a1[43]; sub_100278250(&v26, *(float *)&v27 * 0.5, (float)(*((float *)&v27 + 1) + -40.0) + -8.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 184LL))(v8, &v26); v9 = cocos2d::CCDelayTime::create((__m128)0x404CCCCDu); v10 = AchievementNotifier::sharedState(); v11 = cocos2d::CCCallFunc::create(v10, AchievementNotifier::achievementDisplayFinished, 0); v12 = sub_10039EB60((__int64)v9, v11, 0); cocos2d::CCNode::runAction(a1[43], v12); v13 = cocos2d::CCDelayTime::create((__m128)0x4019999Au); v14 = cocos2d::CCFadeOut::create((__m128)0x3F4CCCCDu); v15 = cocos2d::CCEaseIn::create((__int64)v14, 2.0); v16 = sub_10039EB60((__int64)v13, v15, 0); cocos2d::CCNode::runAction((__int64)a1, v16); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[47] + 912LL))(a1[47], 255); v17 = cocos2d::CCFadeOut::create((__m128)0x3F666666u); v18 = cocos2d::CCEaseInOut::create((__int64)v17, 1.8); cocos2d::CCNode::runAction(a1[47], (__int64)v18); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1[48] + 912LL))(a1[48], 0); v19 = cocos2d::CCFadeIn::create((__m128)0x3EB33333u); v20 = cocos2d::CCEaseInOut::create((__int64)v19, 2.0); v21 = cocos2d::CCDelayTime::create((__m128)0x3F000000u); v22 = cocos2d::CCFadeOut::create((__m128)0x4019999Au); v23 = cocos2d::CCEaseInOut::create((__int64)v22, 2.0); v24 = sub_10039EB60((__int64)v20, v21, v23, 0); return cocos2d::CCNode::runAction(a1[48], v24); }