; ; GameLevelManager::hasRatedLevelStars from 0x140154340 to 0x14015440c (204 bytes) ; ; 3 xrefs: ; > GameLevelManager::rateStars @ 0x140153b52 ; > LevelInfoLayer::updateSideButtons @ 0x1402feb46 ; > @ 0x1406ca8e4 ; ; 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, 0x140154340 sub rsp, 50h ; +0x2, 0x140154342 mov rax, cs:__security_cookie ; +0x6, 0x140154346 xor rax, rsp ; +0xd, 0x14015434d mov [rsp+58h+var_18], rax ; +0x10, 0x140154350 mov rbx, rcx ; +0x15, 0x140154355 lea rcx, aI_11; "%i" ; +0x18, 0x140154358 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14015435f mov rcx, rax ; +0x25, 0x140154365 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x140154368 xorps xmm0, xmm0 ; +0x2e, 0x14015436e movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x31, 0x140154371 xorps xmm1, xmm1 ; +0x36, 0x140154376 movdqu [rsp+58h+var_28], xmm1 ; +0x39, 0x140154379 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x3f, 0x14015437f inc r8 ; +0x46, 0x140154386 cmp byte ptr [rax+r8], 0 ; +0x49, 0x140154389 jnz short loc_140154386 ; +0x4e, 0x14015438e mov rdx, rax ; +0x50, 0x140154390 lea rcx, [rsp+58h+Block] ; +0x53, 0x140154393 call sub_14003A930 ; +0x58, 0x140154398 nop ; +0x5d, 0x14015439d lea rdx, [rsp+58h+Block] ; +0x5e, 0x14015439e mov rcx, [rbx+190h] ; +0x63, 0x1401543a3 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, 0x1401543aa test rax, rax ; +0x70, 0x1401543b0 setnz bl ; +0x73, 0x1401543b3 mov rdx, qword ptr [rsp+58h+var_28+8] ; +0x76, 0x1401543b6 cmp rdx, 0Fh ; +0x7b, 0x1401543bb jbe short loc_1401543F6 ; +0x7f, 0x1401543bf inc rdx ; +0x81, 0x1401543c1 mov rcx, [rsp+58h+Block]; Block ; +0x84, 0x1401543c4 mov rax, rcx ; +0x89, 0x1401543c9 cmp rdx, 1000h ; +0x8c, 0x1401543cc jb short loc_1401543F1 ; +0x93, 0x1401543d3 add rdx, 27h ; ''' ; +0x95, 0x1401543d5 mov rcx, [rcx-8] ; +0x99, 0x1401543d9 sub rax, rcx ; +0x9d, 0x1401543dd add rax, 0FFFFFFFFFFFFFFF8h ; +0xa0, 0x1401543e0 cmp rax, 1Fh ; +0xa4, 0x1401543e4 jbe short loc_1401543F1 ; +0xa8, 0x1401543e8 call cs:_invalid_parameter_noinfo_noreturn ; +0xaa, 0x1401543ea db 0CCh ; +0xb0, 0x1401543f0 call j_j_free ; +0xb1, 0x1401543f1 movzx eax, bl ; +0xb6, 0x1401543f6 mov rcx, [rsp+58h+var_18] ; +0xb9, 0x1401543f9 xor rcx, rsp; StackCookie ; +0xbe, 0x1401543fe call __security_check_cookie ; +0xc1, 0x140154401 add rsp, 50h ; +0xc6, 0x140154406 pop rbx ; +0xca, 0x14015440a retn ; +0xcb, 0x14015440b