; ; AchievementManager::percentForAchievement from 0x14003c250 to 0x14003c31d (205 bytes) ; ; 16 xrefs: ; > AchievementManager::isAchievementEarned @ 0x14003c234 ; > AchievementManager::reportAchievementWithID @ 0x14003d010 ; > AchievementManager::reportAchievementWithID @ 0x14003d024 ; > GameManager::syncPlatformAchievements @ 0x14008b3c7 ; > AchievementCell::loadFromDict @ 0x140147221 ; > AchievementCell::loadFromDict @ 0x14014859d ; > GameLevelManager::onGetNotificationsCompleted @ 0x140250b43 ; > GameManager::resetAchievement @ 0x140278341 ; > GameManager::reportAchievementWithID @ 0x140279103 ; > GameManager::dataLoaded @ 0x140283ecb ; > GameStatsManager::verifyUserCoins @ 0x1402e35e5 ; > GameStatsManager::recountSpecialStats @ 0x1402e8c5d ; > GJGarageLayer::dialogClosed @ 0x140381046 ; > GJPathPage::init @ 0x1403943d3 ; > GJPathPage::unlockAnimationStep3 @ 0x140396b04 ; > @ 0x14090eff0 ; ; 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 ; push rbx ; +0x0, 0x14003c250 sub rsp, 60h ; +0x2, 0x14003c252 mov rax, cs:__security_cookie ; +0x6, 0x14003c256 xor rax, rsp ; +0xd, 0x14003c25d mov [rsp+68h+var_18], rax ; +0x10, 0x14003c260 mov rbx, rcx ; +0x15, 0x14003c265 xorps xmm0, xmm0 ; +0x18, 0x14003c268 movups xmmword ptr [rsp+68h+Block], xmm0 ; +0x1b, 0x14003c26b xorps xmm1, xmm1 ; +0x20, 0x14003c270 movdqu [rsp+68h+var_28], xmm1 ; +0x23, 0x14003c273 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x29, 0x14003c279 inc r8 ; +0x30, 0x14003c280 cmp byte ptr [rdx+r8], 0 ; +0x33, 0x14003c283 jnz short loc_14003C280 ; +0x38, 0x14003c288 lea rcx, [rsp+68h+Block] ; +0x3a, 0x14003c28a call sub_14003D230 ; +0x3f, 0x14003c28f nop ; +0x44, 0x14003c294 lea rdx, [rsp+68h+Block] ; +0x45, 0x14003c295 mov rcx, [rbx+160h] ; +0x4a, 0x14003c29a call cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x51, 0x14003c2a1 mov rcx, rax ; +0x57, 0x14003c2a7 call cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x5a, 0x14003c2aa mov ebx, eax ; +0x60, 0x14003c2b0 mov rdx, qword ptr [rsp+68h+var_28+8] ; +0x62, 0x14003c2b2 cmp rdx, 0Fh ; +0x67, 0x14003c2b7 jbe short loc_14003C308 ; +0x6b, 0x14003c2bb inc rdx ; +0x6d, 0x14003c2bd mov r8, [rsp+68h+Block] ; +0x70, 0x14003c2c0 mov rcx, r8 ; +0x75, 0x14003c2c5 cmp rdx, 1000h ; +0x78, 0x14003c2c8 jb short loc_14003C300 ; +0x7f, 0x14003c2cf add rdx, 27h ; ''' ; +0x81, 0x14003c2d1 mov r8, [r8-8] ; +0x85, 0x14003c2d5 sub rcx, r8 ; +0x89, 0x14003c2d9 sub rcx, 8 ; +0x8c, 0x14003c2dc cmp rcx, 1Fh ; +0x90, 0x14003c2e0 jbe short loc_14003C300 ; +0x94, 0x14003c2e4 mov [rsp+68h+Reserved], 0; Reserved ; +0x96, 0x14003c2e6 xor r9d, r9d; LineNo ; +0x9f, 0x14003c2ef xor r8d, r8d; FileName ; +0xa2, 0x14003c2f2 xor edx, edx; FunctionName ; +0xa5, 0x14003c2f5 xor ecx, ecx; Expression ; +0xa7, 0x14003c2f7 call cs:_invoke_watson ; +0xa9, 0x14003c2f9 align 20h ; +0xaf, 0x14003c2ff mov rcx, r8; Block ; +0xb0, 0x14003c300 call j_j_free ; +0xb3, 0x14003c303 mov eax, ebx ; +0xb8, 0x14003c308 mov rcx, [rsp+68h+var_18] ; +0xba, 0x14003c30a xor rcx, rsp; StackCookie ; +0xbf, 0x14003c30f call __security_check_cookie ; +0xc2, 0x14003c312 add rsp, 60h ; +0xc7, 0x14003c317 pop rbx ; +0xcb, 0x14003c31b retn ; +0xcc, 0x14003c31c