; ; EditorSoundBrowserLayer::setMode from 0x14018ef50 to 0x14018f067 (279 bytes) ; ; 7 xrefs: ; > EditorSoundBrowserLayer::init @ 0x14018ed81 ; > EditorSoundBrowserLayer::onSelectMode @ 0x14018f294 ; > EditorSoundBrowserLayer::setTextPopupClosed @ 0x1401903a1 ; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x14019896a ; > @ 0x14089f314 ; > @ 0x14089f348 ; > @ 0x1409191cc ; ; 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_18], rbx ; +0x0, 0x14018ef50 push rdi ; +0x5, 0x14018ef55 sub rsp, 20h ; +0x6, 0x14018ef56 mov [rsp+28h+arg_0], rbp ; +0xa, 0x14018ef5a mov rbx, rcx ; +0xf, 0x14018ef5f xor ebp, ebp ; +0x12, 0x14018ef62 mov [rsp+28h+arg_10], r14 ; +0x14, 0x14018ef64 mov r14d, edx ; +0x19, 0x14018ef69 mov [rcx+408h], edx ; +0x1c, 0x14018ef6c mov [rcx+40Ch], ebp ; +0x22, 0x14018ef72 mov [rcx+448h], ebp ; +0x28, 0x14018ef78 cmp [rcx+490h], rbp ; +0x2e, 0x14018ef7e jz loc_14018F00E ; +0x35, 0x14018ef85 mov rcx, [rcx+498h] ; +0x3b, 0x14018ef8b test rcx, rcx ; +0x42, 0x14018ef92 jz short loc_14018F00E ; +0x45, 0x14018ef95 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x14018ef97 test eax, eax ; +0x4d, 0x14018ef9d jz short loc_14018F00E ; +0x4f, 0x14018ef9f mov [rsp+28h+arg_8], rsi ; +0x51, 0x14018efa1 nop word ptr [rax+rax+00000000h] ; +0x56, 0x14018efa6 mov rcx, [rbx+490h] ; +0x60, 0x14018efb0 mov edx, ebp ; +0x67, 0x14018efb7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x14018efb9 mov rcx, [rbx+498h] ; +0x6f, 0x14018efbf mov edx, ebp ; +0x76, 0x14018efc6 mov rdi, rax ; +0x78, 0x14018efc8 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x7b, 0x14018efcb mov rcx, [rdi] ; +0x81, 0x14018efd1 mov rsi, rax ; +0x84, 0x14018efd4 mov rdx, [rcx+38h] ; +0x87, 0x14018efd7 mov rcx, rdi ; +0x8b, 0x14018efdb call rdx ; +0x8e, 0x14018efde mov rcx, [rsi] ; +0x90, 0x14018efe0 cmp eax, r14d ; +0x93, 0x14018efe3 setz dl ; +0x96, 0x14018efe6 mov r8, [rcx+150h] ; +0x99, 0x14018efe9 mov rcx, rsi ; +0xa0, 0x14018eff0 call r8 ; +0xa3, 0x14018eff3 mov rcx, [rbx+498h] ; +0xa6, 0x14018eff6 inc ebp ; +0xad, 0x14018effd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xaf, 0x14018efff cmp ebp, eax ; +0xb5, 0x14018f005 jb short loc_14018EFB0 ; +0xb7, 0x14018f007 mov rsi, [rsp+28h+arg_8] ; +0xb9, 0x14018f009 cmp dword ptr [rbx+408h], 1 ; +0xbe, 0x14018f00e mov rcx, [rbx+430h] ; +0xc5, 0x14018f015 mov r14, [rsp+28h+arg_10] ; +0xcc, 0x14018f01c setz dil ; +0xd1, 0x14018f021 mov rbp, [rsp+28h+arg_0] ; +0xd5, 0x14018f025 test rcx, rcx ; +0xda, 0x14018f02a jz short loc_14018F050 ; +0xdd, 0x14018f02d mov rax, [rcx] ; +0xdf, 0x14018f02f movzx edx, dil ; +0xe2, 0x14018f032 call qword ptr [rax+150h] ; +0xe6, 0x14018f036 mov rcx, [rbx+430h] ; +0xec, 0x14018f03c movzx edx, dil ; +0xf3, 0x14018f043 mov rax, [rcx] ; +0xf7, 0x14018f047 call qword ptr [rax+3A8h] ; +0xfa, 0x14018f04a xor r8d, r8d ; +0x100, 0x14018f050 xor edx, edx ; +0x103, 0x14018f053 mov rcx, rbx ; +0x105, 0x14018f055 mov rbx, [rsp+28h+arg_18] ; +0x108, 0x14018f058 add rsp, 20h ; +0x10d, 0x14018f05d pop rdi ; +0x111, 0x14018f061 jmp EditorSoundBrowserLayer__loadCurrentPage ; +0x112, 0x14018f062