; ; DailyLevelPage::claimLevelReward from 0x1002169e0 to 0x100216b5f (383 bytes) ; ; 1 xrefs: ; > DailyLevelNode::onClaimReward @ 0x100217a15 ; ; 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:27:00 +0000 ; push rbp ; +0x0, 0x1002169e0 mov rbp, rsp ; +0x1, 0x1002169e1 push r15 ; +0x4, 0x1002169e4 push r14 ; +0x6, 0x1002169e6 push r13 ; +0x8, 0x1002169e8 push r12 ; +0xa, 0x1002169ea push rbx ; +0xc, 0x1002169ec push rax ; +0xd, 0x1002169ed mov r12, rcx ; +0xe, 0x1002169ee mov r14, rdx ; +0x11, 0x1002169f1 mov r15, rsi ; +0x14, 0x1002169f4 mov rbx, rdi ; +0x17, 0x1002169f7 call GameStatsManager__sharedState ; +0x1a, 0x1002169fa mov rdi, rax ; +0x1f, 0x1002169ff mov rsi, r14 ; +0x22, 0x100216a02 call GameStatsManager__completedDailyLevel ; +0x25, 0x100216a05 test rax, rax ; +0x2a, 0x100216a0a jz short loc_100216A40 ; +0x2d, 0x100216a0d mov edi, [rax+40h] ; +0x2f, 0x100216a0f xor esi, esi ; +0x32, 0x100216a12 mov r12, rax ; +0x34, 0x100216a14 call RewardUnlockLayer__create ; +0x37, 0x100216a17 mov r13, rax ; +0x3c, 0x100216a1c mov rax, [rbx] ; +0x3f, 0x100216a1f mov rdi, rbx ; +0x42, 0x100216a22 mov rsi, r13 ; +0x45, 0x100216a25 mov edx, 64h ; 'd' ; +0x48, 0x100216a28 call qword ptr [rax+1D0h] ; +0x4d, 0x100216a2d mov rdi, r13 ; +0x53, 0x100216a33 mov rsi, r12 ; +0x56, 0x100216a36 call RewardUnlockLayer__showCollectReward ; +0x59, 0x100216a39 jmp short loc_100216AAC ; +0x5e, 0x100216a3e call GameStatsManager__sharedState ; +0x60, 0x100216a40 mov esi, [r14+3B4h] ; +0x65, 0x100216a45 sub esi, [r14+3B8h] ; +0x6c, 0x100216a4c mov rdi, rax ; +0x73, 0x100216a53 call GameStatsManager__getBonusDiamonds ; +0x76, 0x100216a56 mov r13d, eax ; +0x7b, 0x100216a5b lea rdi, [rbp+var_30] ; +0x7e, 0x100216a5e mov rsi, r12 ; +0x82, 0x100216a62 call sub_1002782D0 ; +0x85, 0x100216a65 movss xmm1, cs:alpha ; +0x8a, 0x100216a6a xorps xmm0, xmm0 ; +0x92, 0x100216a72 xor edi, edi ; +0x95, 0x100216a75 xor esi, esi ; +0x97, 0x100216a77 xor edx, edx ; +0x99, 0x100216a79 mov ecx, r13d ; +0x9b, 0x100216a7b xor r8d, r8d ; +0x9e, 0x100216a7e xor r9d, r9d ; +0xa1, 0x100216a81 push 0 ; +0xa4, 0x100216a84 lea rax, [rbp+var_30] ; +0xa6, 0x100216a86 push rax ; +0xaa, 0x100216a8a push 0 ; +0xab, 0x100216a8b push 0 ; +0xad, 0x100216a8d call CurrencyRewardLayer__create ; +0xaf, 0x100216a8f add rsp, 20h ; +0xb4, 0x100216a94 mov rcx, [rbx] ; +0xb8, 0x100216a98 mov rdi, rbx ; +0xbb, 0x100216a9b mov rsi, rax ; +0xbe, 0x100216a9e mov edx, 0Eh ; +0xc1, 0x100216aa1 call qword ptr [rcx+1D0h] ; +0xc6, 0x100216aa6 xorps xmm0, xmm0 ; +0xcc, 0x100216aac mov rdi, rbx ; +0xcf, 0x100216aaf mov rsi, r15 ; +0xd2, 0x100216ab2 call DailyLevelPage__exitDailyNode ; +0xd5, 0x100216ab5 call GameLevelManager__sharedState ; +0xda, 0x100216aba mov esi, [rbx+2DCh] ; +0xdf, 0x100216abf mov rdi, rax ; +0xe5, 0x100216ac5 call GameLevelManager__getDailyID ; +0xe8, 0x100216ac8 mov ecx, [r14+398h] ; +0xed, 0x100216acd sub ecx, [r14+39Ch] ; +0xf4, 0x100216ad4 cmp eax, ecx ; +0xfb, 0x100216adb jle short loc_100216B3A ; +0xfd, 0x100216add mov byte ptr [rbx+2D8h], 1 ; +0xff, 0x100216adf call GameLevelManager__sharedState ; +0x106, 0x100216ae6 mov esi, [rbx+2E0h] ; +0x10b, 0x100216aeb mov rdi, rax ; +0x111, 0x100216af1 xor edx, edx ; +0x114, 0x100216af4 xor ecx, ecx ; +0x116, 0x100216af6 call GameLevelManager__downloadLevel ; +0x118, 0x100216af8 movss xmm0, cs:dword_100A03578 ; +0x11d, 0x100216afd call cocos2d__CCDelayTime__create ; +0x125, 0x100216b05 mov r14, rax ; +0x12a, 0x100216b0a lea rsi, DailyLevelPage__createNodeIfLoaded ; +0x12d, 0x100216b0d mov rdi, rbx ; +0x134, 0x100216b14 xor edx, edx ; +0x137, 0x100216b17 call cocos2d__CCCallFunc__create ; +0x139, 0x100216b19 mov rdi, r14 ; +0x13e, 0x100216b1e mov rsi, rax ; +0x141, 0x100216b21 xor edx, edx ; +0x144, 0x100216b24 xor eax, eax ; +0x146, 0x100216b26 call sub_10039EB60 ; +0x148, 0x100216b28 mov rdi, rbx ; +0x14d, 0x100216b2d mov rsi, rax ; +0x150, 0x100216b30 call cocos2d__CCNode__runAction ; +0x153, 0x100216b33 jmp short loc_100216B50 ; +0x158, 0x100216b38 movss xmm0, cs:dword_100A03578 ; +0x15a, 0x100216b3a mov rdi, rbx ; +0x162, 0x100216b42 xor esi, esi ; +0x165, 0x100216b45 xor edx, edx ; +0x167, 0x100216b47 xor ecx, ecx ; +0x169, 0x100216b49 call DailyLevelPage__createDailyNode ; +0x16b, 0x100216b4b add rsp, 8 ; +0x170, 0x100216b50 pop rbx ; +0x174, 0x100216b54 pop r12 ; +0x175, 0x100216b55 pop r13 ; +0x177, 0x100216b57 pop r14 ; +0x179, 0x100216b59 pop r15 ; +0x17b, 0x100216b5b pop rbp ; +0x17d, 0x100216b5d retn ; +0x17e, 0x100216b5e