; ; EditButtonBar::onDotClicked from 0x140177b90 to 0x140177c34 (164 bytes) ; ; 3 xrefs: ; > EditButtonBar::loadFromItems @ 0x1401777f9 ; > @ 0x140918614 ; > @ 0x140918620 ; ; 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:33 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140177b90 mov [rsp+arg_8], rsi ; +0x5, 0x140177b95 push rdi ; +0xa, 0x140177b9a sub rsp, 20h ; +0xb, 0x140177b9b mov rdi, rcx ; +0xf, 0x140177b9f mov rsi, rdx ; +0x12, 0x140177ba2 mov rcx, [rcx+158h] ; +0x15, 0x140177ba5 cmp byte ptr [rcx+1C8h], 0 ; +0x1c, 0x140177bac mov ebx, [rcx+24Ch] ; +0x23, 0x140177bb3 jz short loc_140177BC4 ; +0x29, 0x140177bb9 mov rcx, [rcx+1C0h] ; +0x2b, 0x140177bbb jmp short loc_140177BCB ; +0x32, 0x140177bc2 mov rcx, [rcx+1E0h] ; +0x34, 0x140177bc4 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3b, 0x140177bcb mov r8d, eax ; +0x41, 0x140177bd1 test ebx, ebx ; +0x44, 0x140177bd4 jle short loc_140177BE2 ; +0x46, 0x140177bd6 mov eax, ebx ; +0x48, 0x140177bd8 cdq ; +0x4a, 0x140177bda idiv r8d ; +0x4b, 0x140177bdb mov ebx, edx ; +0x4e, 0x140177bde jmp short loc_140177BE9 ; +0x50, 0x140177be0 jns short loc_140177BE9 ; +0x52, 0x140177be2 add ebx, r8d ; +0x54, 0x140177be4 js short loc_140177BE4 ; +0x57, 0x140177be7 mov rax, [rsi] ; +0x59, 0x140177be9 mov rcx, rsi ; +0x5c, 0x140177bec call qword ptr [rax+38h] ; +0x5f, 0x140177bef cmp eax, ebx ; +0x62, 0x140177bf2 jz short loc_140177C24 ; +0x64, 0x140177bf4 cmp byte ptr [rdi+14Ch], 0 ; +0x66, 0x140177bf6 jz short loc_140177C11 ; +0x6d, 0x140177bfd call EditorSFXManager__sharedState ; +0x6f, 0x140177bff mov rcx, rax ; +0x74, 0x140177c04 mov edx, 116h ; +0x77, 0x140177c07 call EditorSFXManager__playAction ; +0x7c, 0x140177c0c mov rax, [rsi] ; +0x81, 0x140177c11 mov rcx, rsi ; +0x84, 0x140177c14 call qword ptr [rax+38h] ; +0x87, 0x140177c17 mov edx, eax ; +0x8a, 0x140177c1a mov rcx, rdi ; +0x8c, 0x140177c1c call EditButtonBar__goToPage ; +0x8f, 0x140177c1f mov rbx, [rsp+28h+arg_0] ; +0x94, 0x140177c24 mov rsi, [rsp+28h+arg_8] ; +0x99, 0x140177c29 add rsp, 20h ; +0x9e, 0x140177c2e pop rdi ; +0xa2, 0x140177c32 retn ; +0xa3, 0x140177c33