; ; ChallengesPage::updateTimers from 0x140086500 to 0x1400867e5 (741 bytes) ; ; 7 xrefs: ; > ChallengesPage::challengeStatusFinished @ 0x140085e32 ; > ChallengesPage::challengeStatusFinished @ 0x140085f16 ; > ChallengesPage::claimItem @ 0x140086cd3 ; > ChallengesPage::init @ 0x1400857b5 ; > ChallengesPage::challengeStatusFinished @ 0x140085f1b ; > ChallengesPage::challengeStatusFinished @ 0x140085f33 ; > @ 0x1406c6c6c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x140086500 mov [rsp+arg_10], rbp ; +0x5, 0x140086505 mov [rsp+arg_18], rsi ; +0xa, 0x14008650a push rdi ; +0xf, 0x14008650f push r14 ; +0x10, 0x140086510 push r15 ; +0x12, 0x140086512 sub rsp, 80h ; +0x14, 0x140086514 movaps [rsp+98h+var_28], xmm6 ; +0x1b, 0x14008651b mov rax, cs:__security_cookie ; +0x20, 0x140086520 xor rax, rsp ; +0x27, 0x140086527 mov [rsp+98h+var_30], rax ; +0x2a, 0x14008652a mov rbp, rcx ; +0x2f, 0x14008652f mov rax, cs:qword_1406C2EE8 ; +0x32, 0x140086532 test rax, rax ; +0x39, 0x140086539 jnz short loc_14008656D ; +0x3c, 0x14008653c mov ecx, 3E0h; Size ; +0x3e, 0x14008653e call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x43, 0x140086543 mov [rsp+98h+var_78], rax ; +0x48, 0x140086548 mov rcx, rax ; +0x4d, 0x14008654d call sub_1401D0AE0 ; +0x50, 0x140086550 nop ; +0x55, 0x140086555 mov cs:qword_1406C2EE8, rax ; +0x56, 0x140086556 mov rdx, [rax] ; +0x5d, 0x14008655d mov rcx, rax ; +0x60, 0x140086560 call qword ptr [rdx+48h] ; +0x63, 0x140086563 mov rax, cs:qword_1406C2EE8 ; +0x66, 0x140086566 movsd xmm1, qword ptr [rax+238h] ; +0x6d, 0x14008656d xorps xmm0, xmm0 ; +0x75, 0x140086575 comisd xmm1, xmm0 ; +0x78, 0x140086578 jbe loc_1400867B6 ; +0x7c, 0x14008657c call sub_14003CF30 ; +0x82, 0x140086582 movaps xmm6, xmm0 ; +0x87, 0x140086587 mov rax, cs:qword_1406C2EE8 ; +0x8a, 0x14008658a test rax, rax ; +0x91, 0x140086591 jnz short loc_1400865C5 ; +0x94, 0x140086594 mov ecx, 3E0h; Size ; +0x96, 0x140086596 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x9b, 0x14008659b mov [rsp+98h+var_78], rax ; +0xa0, 0x1400865a0 mov rcx, rax ; +0xa5, 0x1400865a5 call sub_1401D0AE0 ; +0xa8, 0x1400865a8 nop ; +0xad, 0x1400865ad mov cs:qword_1406C2EE8, rax ; +0xae, 0x1400865ae mov rdx, [rax] ; +0xb5, 0x1400865b5 mov rcx, rax ; +0xb8, 0x1400865b8 call qword ptr [rdx+48h] ; +0xbb, 0x1400865bb mov rax, cs:qword_1406C2EE8 ; +0xbe, 0x1400865be movsd xmm0, qword ptr [rax+238h] ; +0xc5, 0x1400865c5 subsd xmm0, xmm6 ; +0xcd, 0x1400865cd cvttsd2si r14d, xmm0 ; +0xd1, 0x1400865d1 xor r15d, r15d ; +0xd6, 0x1400865d6 test r14d, r14d ; +0xd9, 0x1400865d9 cmovs r14d, r15d ; +0xdc, 0x1400865dc xor r8d, r8d ; +0xe0, 0x1400865e0 mov edx, r14d ; +0xe3, 0x1400865e3 lea rcx, [rsp+98h+var_50] ; +0xe6, 0x1400865e6 call GameToolbox__getTimeString ; +0xeb, 0x1400865eb nop ; +0xf0, 0x1400865f0 lea rdx, [rsp+98h+var_50] ; +0xf1, 0x1400865f1 cmp [rsp+98h+var_38], 0Fh ; +0xf6, 0x1400865f6 cmova rdx, [rsp+98h+var_50] ; +0xfc, 0x1400865fc mov rax, [rbp+298h] ; +0x102, 0x140086602 mov rbx, [rax+168h] ; +0x109, 0x140086609 lea rcx, aNewQuestsInS; "New quests in: %s" ; +0x110, 0x140086610 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x117, 0x140086617 mov rcx, rax ; +0x11d, 0x14008661d call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x120, 0x140086620 mov rdx, rax ; +0x126, 0x140086626 mov rcx, [rbp+298h] ; +0x129, 0x140086629 add rcx, 168h ; +0x130, 0x140086630 call qword ptr [rbx] ; +0x137, 0x140086637 mov rbx, [rbp+2B8h] ; +0x139, 0x140086639 test rbx, rbx ; +0x140, 0x140086640 jz short loc_1400866BD ; +0x143, 0x140086643 mov rbx, [rbx+38h] ; +0x145, 0x140086645 test rbx, rbx ; +0x149, 0x140086649 jz short loc_1400866BD ; +0x14c, 0x14008664c mov rsi, [rbx+120h] ; +0x14e, 0x14008664e nop word ptr [rax+rax+00000000h] ; +0x155, 0x140086655 mov rbx, [rbx+108h] ; +0x160, 0x140086660 lea rdx, [rsp+98h+var_50] ; +0x167, 0x140086667 lea rcx, [rsp+98h+var_70] ; +0x16c, 0x14008666c call sub_14003BDB0 ; +0x171, 0x140086671 mov rdi, rax ; +0x176, 0x140086676 mov [rsp+98h+var_78], rax ; +0x179, 0x140086679 mov rcx, [rbx+158h] ; +0x17e, 0x14008667e test rcx, rcx ; +0x185, 0x140086685 jz short loc_1400866A4 ; +0x188, 0x140086688 mov rdx, rax ; +0x18a, 0x14008668a cmp qword ptr [rax+18h], 0Fh ; +0x18d, 0x14008668d jbe short loc_140086697 ; +0x192, 0x140086692 mov rdx, [rax] ; +0x194, 0x140086694 add rcx, 168h ; +0x197, 0x140086697 mov rax, [rcx] ; +0x19e, 0x14008669e call qword ptr [rax] ; +0x1a1, 0x1400866a1 nop ; +0x1a3, 0x1400866a3 mov rcx, rdi ; +0x1a4, 0x1400866a4 call sub_14003A830 ; +0x1a7, 0x1400866a7 mov rbx, rsi ; +0x1ac, 0x1400866ac test rsi, rsi ; +0x1af, 0x1400866af jz short loc_1400866BD ; +0x1b2, 0x1400866b2 mov rsi, [rsi+120h] ; +0x1b4, 0x1400866b4 jmp short loc_140086660 ; +0x1bb, 0x1400866bb test r14d, r14d ; +0x1bd, 0x1400866bd jg loc_1400867AC ; +0x1c0, 0x1400866c0 cmp byte ptr [rbp+2A9h], 0 ; +0x1c6, 0x1400866c6 jnz loc_1400867AC ; +0x1cd, 0x1400866cd mov rcx, [rbp+2A0h] ; +0x1d3, 0x1400866d3 mov rax, [rcx] ; +0x1da, 0x1400866da mov dl, 1 ; +0x1dd, 0x1400866dd call qword ptr [rax+140h] ; +0x1df, 0x1400866df mov rcx, [rbp+298h] ; +0x1e5, 0x1400866e5 mov rax, [rcx] ; +0x1ec, 0x1400866ec xor edx, edx ; +0x1ef, 0x1400866ef call qword ptr [rax+140h] ; +0x1f1, 0x1400866f1 mov word ptr [rbp+2A8h], 100h ; +0x1f7, 0x1400866f7 mov rax, cs:qword_1406C2EE8 ; +0x200, 0x140086700 test rax, rax ; +0x207, 0x140086707 jnz short loc_14008673B ; +0x20a, 0x14008670a mov ecx, 3E0h; Size ; +0x20c, 0x14008670c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x211, 0x140086711 mov [rsp+98h+var_78], rax ; +0x216, 0x140086716 mov rcx, rax ; +0x21b, 0x14008671b call sub_1401D0AE0 ; +0x21e, 0x14008671e nop ; +0x223, 0x140086723 mov cs:qword_1406C2EE8, rax ; +0x224, 0x140086724 mov rdx, [rax] ; +0x22b, 0x14008672b mov rcx, rax ; +0x22e, 0x14008672e call qword ptr [rdx+48h] ; +0x231, 0x140086731 mov rax, cs:qword_1406C2EE8 ; +0x234, 0x140086734 mov [rax+238h], r15 ; +0x23b, 0x14008673b cmp byte ptr [rbp+2A8h], 0 ; +0x242, 0x140086742 jz short loc_140086764 ; +0x249, 0x140086749 mov rcx, [rbp+2A0h] ; +0x24b, 0x14008674b test rcx, rcx ; +0x252, 0x140086752 jz short loc_1400867AC ; +0x255, 0x140086755 mov rax, [rcx] ; +0x257, 0x140086757 xor edx, edx ; +0x25a, 0x14008675a call qword ptr [rax+140h] ; +0x25c, 0x14008675c jmp short loc_1400867AC ; +0x262, 0x140086762 mov byte ptr [rbp+2A8h], 1 ; +0x264, 0x140086764 mov rcx, cs:qword_1406C2EC0 ; +0x26b, 0x14008676b test rcx, rcx ; +0x272, 0x140086772 jnz short loc_1400867A6 ; +0x275, 0x140086775 mov ecx, 3D0h; Size ; +0x277, 0x140086777 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x27c, 0x14008677c mov [rsp+98h+var_78], rax ; +0x281, 0x140086781 mov rcx, rax ; +0x286, 0x140086786 call sub_140141280 ; +0x289, 0x140086789 nop ; +0x28e, 0x14008678e mov cs:qword_1406C2EC0, rax ; +0x28f, 0x14008678f mov rdx, [rax] ; +0x296, 0x140086796 mov rcx, rax ; +0x299, 0x140086799 call qword ptr [rdx+48h] ; +0x29c, 0x14008679c mov rcx, cs:qword_1406C2EC0 ; +0x29f, 0x14008679f call GameLevelManager__getGJChallenges ; +0x2a6, 0x1400867a6 nop ; +0x2ab, 0x1400867ab lea rcx, [rsp+98h+var_50] ; +0x2ac, 0x1400867ac call sub_14003A830 ; +0x2b1, 0x1400867b1 mov rcx, [rsp+98h+var_30] ; +0x2b6, 0x1400867b6 xor rcx, rsp; StackCookie ; +0x2bb, 0x1400867bb call __security_check_cookie ; +0x2be, 0x1400867be lea r11, [rsp+98h+var_18] ; +0x2c3, 0x1400867c3 mov rbx, [r11+28h] ; +0x2cb, 0x1400867cb mov rbp, [r11+30h] ; +0x2cf, 0x1400867cf mov rsi, [r11+38h] ; +0x2d3, 0x1400867d3 movaps xmm6, [rsp+98h+var_28] ; +0x2d7, 0x1400867d7 mov rsp, r11 ; +0x2dc, 0x1400867dc pop r15 ; +0x2df, 0x1400867df pop r14 ; +0x2e1, 0x1400867e1 pop rdi ; +0x2e3, 0x1400867e3 retn ; +0x2e4, 0x1400867e4