; ; GameLevelManager::hasRatedDemon from 0x140154410 to 0x1401544dc (204 bytes) ; ; 3 xrefs: ; > GameLevelManager::rateDemon @ 0x140155397 ; > LevelInfoLayer::updateSideButtons @ 0x1402fec5e ; > @ 0x1406ca8f0 ; ; 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, 0x140154410 sub rsp, 50h ; +0x2, 0x140154412 mov rax, cs:__security_cookie ; +0x6, 0x140154416 xor rax, rsp ; +0xd, 0x14015441d mov [rsp+58h+var_18], rax ; +0x10, 0x140154420 mov rbx, rcx ; +0x15, 0x140154425 lea rcx, aI_11; "%i" ; +0x18, 0x140154428 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14015442f mov rcx, rax ; +0x25, 0x140154435 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x140154438 xorps xmm0, xmm0 ; +0x2e, 0x14015443e movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x31, 0x140154441 xorps xmm1, xmm1 ; +0x36, 0x140154446 movdqu [rsp+58h+var_28], xmm1 ; +0x39, 0x140154449 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x3f, 0x14015444f inc r8 ; +0x46, 0x140154456 cmp byte ptr [rax+r8], 0 ; +0x49, 0x140154459 jnz short loc_140154456 ; +0x4e, 0x14015445e mov rdx, rax ; +0x50, 0x140154460 lea rcx, [rsp+58h+Block] ; +0x53, 0x140154463 call sub_14003A930 ; +0x58, 0x140154468 nop ; +0x5d, 0x14015446d lea rdx, [rsp+58h+Block] ; +0x5e, 0x14015446e mov rcx, [rbx+198h] ; +0x63, 0x140154473 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, 0x14015447a test rax, rax ; +0x70, 0x140154480 setnz bl ; +0x73, 0x140154483 mov rdx, qword ptr [rsp+58h+var_28+8] ; +0x76, 0x140154486 cmp rdx, 0Fh ; +0x7b, 0x14015448b jbe short loc_1401544C6 ; +0x7f, 0x14015448f inc rdx ; +0x81, 0x140154491 mov rcx, [rsp+58h+Block]; Block ; +0x84, 0x140154494 mov rax, rcx ; +0x89, 0x140154499 cmp rdx, 1000h ; +0x8c, 0x14015449c jb short loc_1401544C1 ; +0x93, 0x1401544a3 add rdx, 27h ; ''' ; +0x95, 0x1401544a5 mov rcx, [rcx-8] ; +0x99, 0x1401544a9 sub rax, rcx ; +0x9d, 0x1401544ad add rax, 0FFFFFFFFFFFFFFF8h ; +0xa0, 0x1401544b0 cmp rax, 1Fh ; +0xa4, 0x1401544b4 jbe short loc_1401544C1 ; +0xa8, 0x1401544b8 call cs:_invalid_parameter_noinfo_noreturn ; +0xaa, 0x1401544ba db 0CCh ; +0xb0, 0x1401544c0 call j_j_free ; +0xb1, 0x1401544c1 movzx eax, bl ; +0xb6, 0x1401544c6 mov rcx, [rsp+58h+var_18] ; +0xb9, 0x1401544c9 xor rcx, rsp; StackCookie ; +0xbe, 0x1401544ce call __security_check_cookie ; +0xc1, 0x1401544d1 add rsp, 50h ; +0xc6, 0x1401544d6 pop rbx ; +0xca, 0x1401544da retn ; +0xcb, 0x1401544db