; ; EditorSoundBrowserLayer::updatePageLabel from 0x14018fbe0 to 0x14018fe44 (612 bytes) ; ; 5 xrefs: ; > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f43c ; > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f8ef ; > EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x14019049a ; > EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0x140190549 ; > @ 0x140919250 ; ; 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 11:27:42 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14018fbe0 mov [rsp+arg_10], rbp ; +0x5, 0x14018fbe5 mov [rsp+arg_18], rsi ; +0xa, 0x14018fbea push rdi ; +0xf, 0x14018fbef sub rsp, 60h ; +0x10, 0x14018fbf0 mov rax, cs:__security_cookie ; +0x14, 0x14018fbf4 xor rax, rsp ; +0x1b, 0x14018fbfb mov [rsp+68h+var_18], rax ; +0x1e, 0x14018fbfe mov rbx, rcx ; +0x23, 0x14018fc03 cmp qword ptr [rcx+418h], 0 ; +0x26, 0x14018fc06 jz loc_14018FE21 ; +0x2e, 0x14018fc0e mov eax, [rcx+40Ch] ; +0x34, 0x14018fc14 lea edx, [rax+rax*4] ; +0x3a, 0x14018fc1a lea edi, ds:1[rdx*2] ; +0x3d, 0x14018fc1d mov rcx, [rcx+440h] ; +0x44, 0x14018fc24 xor ebp, ebp ; +0x4b, 0x14018fc2b test rcx, rcx ; +0x4d, 0x14018fc2d jz short loc_14018FC3D ; +0x50, 0x14018fc30 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x52, 0x14018fc32 test eax, eax ; +0x58, 0x14018fc38 cmovz edi, ebp ; +0x5a, 0x14018fc3a mov rcx, [rbx+440h] ; +0x5d, 0x14018fc3d test rcx, rcx ; +0x64, 0x14018fc44 jz short loc_14018FC53 ; +0x67, 0x14018fc47 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x69, 0x14018fc49 mov ecx, eax ; +0x6f, 0x14018fc4f jmp short loc_14018FC55 ; +0x71, 0x14018fc51 mov ecx, ebp ; +0x73, 0x14018fc53 mov edx, [rbx+40Ch] ; +0x75, 0x14018fc55 lea eax, [rdx+rdx*4] ; +0x7b, 0x14018fc5b lea r8d, [rcx+rax*2] ; +0x7e, 0x14018fc5e xorps xmm0, xmm0 ; +0x82, 0x14018fc62 movups xmmword ptr [rsp+68h+Block], xmm0 ; +0x85, 0x14018fc65 mov [rsp+68h+var_28], rbp ; +0x8a, 0x14018fc6a mov [rsp+68h+var_20], 0Fh ; +0x8f, 0x14018fc6f mov byte ptr [rsp+68h+Block], bpl ; +0x98, 0x14018fc78 test r8d, r8d ; +0x9d, 0x14018fc7d jnz short loc_14018FCAC ; +0xa0, 0x14018fc80 mov [rsp+68h+var_28], 0Ah ; +0xa2, 0x14018fc82 movsd xmm0, qword ptr cs:aNoResults; "No results" ; +0xab, 0x14018fc8b movsd [rsp+68h+Block], xmm0 ; +0xb3, 0x14018fc93 movzx eax, word ptr cs:aNoResults+8; "ts" ; +0xb9, 0x14018fc99 mov word ptr [rsp+68h+Block+8], ax ; +0xc0, 0x14018fca0 mov byte ptr [rsp+68h+Block+0Ah], r8b ; +0xc5, 0x14018fca5 jmp short loc_14018FD29 ; +0xca, 0x14018fcaa mov eax, [rbx+408h] ; +0xcc, 0x14018fcac test eax, eax ; +0xd2, 0x14018fcb2 jz short loc_14018FCEC ; +0xd4, 0x14018fcb4 cmp eax, 1 ; +0xd6, 0x14018fcb6 jz short loc_14018FCEC ; +0xd9, 0x14018fcb9 inc edx ; +0xdb, 0x14018fcbb lea rcx, aPageD; "Page %d" ; +0xdd, 0x14018fcbd call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xe4, 0x14018fcc4 mov rcx, rax ; +0xea, 0x14018fcca call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xed, 0x14018fccd mov r8, 0FFFFFFFFFFFFFFFFh ; +0xf3, 0x14018fcd3 nop word ptr [rax+rax+00h] ; +0xfa, 0x14018fcda inc r8 ; +0x100, 0x14018fce0 cmp byte ptr [rax+r8], 0 ; +0x103, 0x14018fce3 jnz short loc_14018FCE0 ; +0x108, 0x14018fce8 jmp short loc_14018FD1C ; +0x10a, 0x14018fcea mov r9d, [rbx+448h] ; +0x10c, 0x14018fcec mov edx, edi ; +0x113, 0x14018fcf3 lea rcx, aDDOfD; "%d-%d of %d" ; +0x115, 0x14018fcf5 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x11c, 0x14018fcfc mov rcx, rax ; +0x122, 0x14018fd02 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x125, 0x14018fd05 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x12b, 0x14018fd0b inc r8; Size ; +0x132, 0x14018fd12 cmp byte ptr [rax+r8], 0 ; +0x135, 0x14018fd15 jnz short loc_14018FD12 ; +0x13a, 0x14018fd1a mov rdx, rax; Src ; +0x13c, 0x14018fd1c lea rcx, [rsp+68h+Block]; void * ; +0x13f, 0x14018fd1f call sub_1400405A0 ; +0x144, 0x14018fd24 mov rsi, rbx ; +0x149, 0x14018fd29 mov edi, 408h ; +0x14c, 0x14018fd2c lea rdx, [rsp+68h+Block] ; +0x151, 0x14018fd31 cmp [rsp+68h+var_20], 0Fh ; +0x156, 0x14018fd36 cmova rdx, [rsp+68h+Block] ; +0x15c, 0x14018fd3c mov rcx, [rbx+418h] ; +0x162, 0x14018fd42 add rcx, 168h ; +0x169, 0x14018fd49 mov rax, [rcx] ; +0x170, 0x14018fd50 call qword ptr [rax] ; +0x173, 0x14018fd53 mov eax, [rdi+rbx] ; +0x175, 0x14018fd55 test eax, eax ; +0x178, 0x14018fd58 jz short loc_14018FD82 ; +0x17a, 0x14018fd5a cmp eax, 1 ; +0x17c, 0x14018fd5c jz short loc_14018FD82 ; +0x17f, 0x14018fd5f mov rcx, [rbx+440h] ; +0x181, 0x14018fd61 test rcx, rcx ; +0x188, 0x14018fd68 jz short loc_14018FD7D ; +0x18b, 0x14018fd6b call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18d, 0x14018fd6d cmp eax, 0Ah ; +0x193, 0x14018fd73 jl short loc_14018FD7D ; +0x196, 0x14018fd76 mov dil, 1 ; +0x198, 0x14018fd78 jmp short loc_14018FD99 ; +0x19b, 0x14018fd7b xor dil, dil ; +0x19d, 0x14018fd7d jmp short loc_14018FD99 ; +0x1a0, 0x14018fd80 mov eax, [rbx+40Ch] ; +0x1a2, 0x14018fd82 inc eax ; +0x1a8, 0x14018fd88 lea eax, [rax+rax*4] ; +0x1aa, 0x14018fd8a add eax, eax ; +0x1ad, 0x14018fd8d cmp [rbx+448h], eax ; +0x1af, 0x14018fd8f setnle dil ; +0x1b5, 0x14018fd95 mov rcx, [rbx+420h] ; +0x1b9, 0x14018fd99 test rcx, rcx ; +0x1c0, 0x14018fda0 jz short loc_14018FDB8 ; +0x1c3, 0x14018fda3 cmp dword ptr [rbx+40Ch], 0 ; +0x1c5, 0x14018fda5 setnle dl ; +0x1cc, 0x14018fdac mov rax, [rcx] ; +0x1cf, 0x14018fdaf call qword ptr [rax+150h] ; +0x1d2, 0x14018fdb2 mov rcx, [rbx+428h] ; +0x1d8, 0x14018fdb8 test rcx, rcx ; +0x1df, 0x14018fdbf jz short loc_14018FDD2 ; +0x1e2, 0x14018fdc2 mov rax, [rcx] ; +0x1e4, 0x14018fdc4 movzx edx, dil ; +0x1e7, 0x14018fdc7 call qword ptr [rax+150h] ; +0x1eb, 0x14018fdcb nop ; +0x1f1, 0x14018fdd1 mov rdx, [rsp+68h+var_20] ; +0x1f2, 0x14018fdd2 cmp rdx, 0Fh ; +0x1f7, 0x14018fdd7 jbe short loc_14018FE21 ; +0x1fb, 0x14018fddb inc rdx ; +0x1fd, 0x14018fddd mov rcx, [rsp+68h+Block]; Block ; +0x200, 0x14018fde0 mov rax, rcx ; +0x205, 0x14018fde5 cmp rdx, 1000h ; +0x208, 0x14018fde8 jb short loc_14018FE1C ; +0x20f, 0x14018fdef add rdx, 27h ; ''' ; +0x211, 0x14018fdf1 mov rcx, [rcx-8] ; +0x215, 0x14018fdf5 sub rax, rcx ; +0x219, 0x14018fdf9 sub rax, 8 ; +0x21c, 0x14018fdfc cmp rax, 1Fh ; +0x220, 0x14018fe00 jbe short loc_14018FE1C ; +0x224, 0x14018fe04 mov [rsp+68h+Reserved], rbp; Reserved ; +0x226, 0x14018fe06 xor r9d, r9d; LineNo ; +0x22b, 0x14018fe0b xor r8d, r8d; FileName ; +0x22e, 0x14018fe0e xor edx, edx; FunctionName ; +0x231, 0x14018fe11 xor ecx, ecx; Expression ; +0x233, 0x14018fe13 call cs:_invoke_watson ; +0x235, 0x14018fe15 align 4 ; +0x23b, 0x14018fe1b call j_j_free ; +0x23c, 0x14018fe1c mov rcx, [rsp+68h+var_18] ; +0x241, 0x14018fe21 xor rcx, rsp; StackCookie ; +0x246, 0x14018fe26 call __security_check_cookie ; +0x249, 0x14018fe29 lea r11, [rsp+68h+var_8] ; +0x24e, 0x14018fe2e mov rbx, [r11+18h] ; +0x253, 0x14018fe33 mov rbp, [r11+20h] ; +0x257, 0x14018fe37 mov rsi, [r11+28h] ; +0x25b, 0x14018fe3b mov rsp, r11 ; +0x25f, 0x14018fe3f pop rdi ; +0x262, 0x14018fe42 retn ; +0x263, 0x14018fe43