; ; EditorSFXActionConfigLayer::onPreviewSound from 0x140184a70 to 0x140184b2c (188 bytes) ; ; 2 xrefs: ; > EditorSFXActionConfigLayer::refreshRows @ 0x1401845c3 ; > @ 0x140918d58 ; ; 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:38 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140184a70 push rdi ; +0x5, 0x140184a75 sub rsp, 20h ; +0x6, 0x140184a76 mov rbx, rcx ; +0xa, 0x140184a7a mov rax, [rdx] ; +0xd, 0x140184a7d mov rcx, rdx ; +0x10, 0x140184a80 call qword ptr [rax+38h] ; +0x13, 0x140184a83 add eax, 0FFFFFC18h ; +0x16, 0x140184a86 cdq ; +0x1b, 0x140184a8b and edx, 7 ; +0x1c, 0x140184a8c lea edi, [rdx+rax] ; +0x1f, 0x140184a8f sar edi, 3 ; +0x22, 0x140184a92 mov ebx, [rbx+3F0h] ; +0x25, 0x140184a95 call EditorSFXManager__sharedState ; +0x2b, 0x140184a9b mov edx, ebx ; +0x30, 0x140184aa0 mov rcx, rax ; +0x32, 0x140184aa2 call EditorSFXManager__findBinding ; +0x35, 0x140184aa5 test rax, rax ; +0x3a, 0x140184aaa jz short loc_140184B21 ; +0x3d, 0x140184aad mov rbx, [rax] ; +0x3f, 0x140184aaf test rbx, rbx ; +0x42, 0x140184ab2 jz short loc_140184B21 ; +0x45, 0x140184ab5 test edi, edi ; +0x47, 0x140184ab7 js short loc_140184B21 ; +0x49, 0x140184ab9 mov rcx, rbx ; +0x4b, 0x140184abb call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4e, 0x140184abe cmp edi, eax ; +0x54, 0x140184ac4 jge short loc_140184B21 ; +0x56, 0x140184ac6 mov edx, edi ; +0x58, 0x140184ac8 mov rcx, rbx ; +0x5a, 0x140184aca call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x5d, 0x140184acd mov rbx, rax ; +0x63, 0x140184ad3 test rax, rax ; +0x66, 0x140184ad6 jz short loc_140184B21 ; +0x69, 0x140184ad9 cmp dword ptr [rax+760h], 0 ; +0x6b, 0x140184adb jle short loc_140184B21 ; +0x72, 0x140184ae2 cmp cs:qword_14090BFD0, 0 ; +0x74, 0x140184ae4 jnz short loc_140184B19 ; +0x7c, 0x140184aec mov ecx, 6E8h; Size ; +0x7e, 0x140184aee call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x83, 0x140184af3 mov [rsp+28h+arg_0], rax ; +0x88, 0x140184af8 mov rcx, rax ; +0x8d, 0x140184afd call GameManager__GameManager ; +0x90, 0x140184b00 nop ; +0x95, 0x140184b05 mov cs:qword_14090BFD0, rax ; +0x96, 0x140184b06 mov rcx, [rax] ; +0x9d, 0x140184b0d mov rdx, [rcx+48h] ; +0xa0, 0x140184b10 mov rcx, rax ; +0xa4, 0x140184b14 call rdx ; +0xa7, 0x140184b17 mov rdx, rbx ; +0xa9, 0x140184b19 call GameManager__playSFXTrigger ; +0xac, 0x140184b1c mov rbx, [rsp+28h+arg_8] ; +0xb1, 0x140184b21 add rsp, 20h ; +0xb6, 0x140184b26 pop rdi ; +0xba, 0x140184b2a retn ; +0xbb, 0x140184b2b