; ; GameLevelManager::getSavedDailyLevel from 0x140148be0 to 0x140148ca9 (201 bytes) ; ; 12 xrefs: ; > CreatorLayer::sceneWillResume @ 0x14009f93a ; > LevelCell::loadCustomLevelCell @ 0x1400ae536 ; > DailyLevelPage::init @ 0x1400cf774 ; > DailyLevelPage::createNodeIfLoaded @ 0x1400d022a ; > GameLevelManager::saveFetchedLevels @ 0x140146a1a ; > GameLevelManager::saveLevel @ 0x140148def ; > GameLevelManager::gotoLevelPage @ 0x140149584 ; > GameLevelManager::processOnDownloadLevelCompleted @ 0x140153222 ; > GameStatsManager::getTotalCollectedCurrency @ 0x1401e3fe2 ; > GauntletLayer::unlockActiveItem @ 0x1401f838f ; > InfoLayer::onLevelInfo @ 0x1402bdc55 ; > @ 0x1406ca674 ; ; 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 ; push rbx ; +0x0, 0x140148be0 sub rsp, 50h ; +0x2, 0x140148be2 mov rax, cs:__security_cookie ; +0x6, 0x140148be6 xor rax, rsp ; +0xd, 0x140148bed mov [rsp+58h+var_18], rax ; +0x10, 0x140148bf0 mov rbx, rcx ; +0x15, 0x140148bf5 lea rcx, aI_11; "%i" ; +0x18, 0x140148bf8 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x140148bff mov rcx, rax ; +0x25, 0x140148c05 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x140148c08 xorps xmm0, xmm0 ; +0x2e, 0x140148c0e movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x31, 0x140148c11 xorps xmm1, xmm1 ; +0x36, 0x140148c16 movdqu [rsp+58h+var_28], xmm1 ; +0x39, 0x140148c19 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x3f, 0x140148c1f inc r8 ; +0x46, 0x140148c26 cmp byte ptr [rax+r8], 0 ; +0x49, 0x140148c29 jnz short loc_140148C26 ; +0x4e, 0x140148c2e mov rdx, rax ; +0x50, 0x140148c30 lea rcx, [rsp+58h+Block] ; +0x53, 0x140148c33 call sub_14003A930 ; +0x58, 0x140148c38 nop ; +0x5d, 0x140148c3d lea rdx, [rsp+58h+Block] ; +0x5e, 0x140148c3e mov rcx, [rbx+1B8h] ; +0x63, 0x140148c43 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x6a, 0x140148c4a mov rbx, rax ; +0x70, 0x140148c50 mov rdx, qword ptr [rsp+58h+var_28+8] ; +0x73, 0x140148c53 cmp rdx, 0Fh ; +0x78, 0x140148c58 jbe short loc_140148C93 ; +0x7c, 0x140148c5c inc rdx ; +0x7e, 0x140148c5e mov rcx, [rsp+58h+Block]; Block ; +0x81, 0x140148c61 mov rax, rcx ; +0x86, 0x140148c66 cmp rdx, 1000h ; +0x89, 0x140148c69 jb short loc_140148C8E ; +0x90, 0x140148c70 add rdx, 27h ; ''' ; +0x92, 0x140148c72 mov rcx, [rcx-8] ; +0x96, 0x140148c76 sub rax, rcx ; +0x9a, 0x140148c7a add rax, 0FFFFFFFFFFFFFFF8h ; +0x9d, 0x140148c7d cmp rax, 1Fh ; +0xa1, 0x140148c81 jbe short loc_140148C8E ; +0xa5, 0x140148c85 call cs:_invalid_parameter_noinfo_noreturn ; +0xa7, 0x140148c87 align 2 ; +0xad, 0x140148c8d call j_j_free ; +0xae, 0x140148c8e mov rax, rbx ; +0xb3, 0x140148c93 mov rcx, [rsp+58h+var_18] ; +0xb6, 0x140148c96 xor rcx, rsp; StackCookie ; +0xbb, 0x140148c9b call __security_check_cookie ; +0xbe, 0x140148c9e add rsp, 50h ; +0xc3, 0x140148ca3 pop rbx ; +0xc7, 0x140148ca7 retn ; +0xc8, 0x140148ca8