; ; FMOD::System::setUserData from 0x1800b1df0 to 0x1800b1ea6 (182 bytes) ; ; 3 xrefs: ; > FMOD_System_SetUserData @ 0x1800c6f89 ; > @ 0x180194348 ; > @ 0x1801fcc9c ; ; 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 ; mov [rsp+arg_10], rbx ; +0x0, 0x1800b1df0 mov [rsp+arg_18], rsi ; +0x5, 0x1800b1df5 push rdi ; +0xa, 0x1800b1dfa sub rsp, 150h ; +0xb, 0x1800b1dfb mov rax, cs:__security_cookie ; +0x12, 0x1800b1e02 xor rax, rsp ; +0x19, 0x1800b1e09 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800b1e0c mov rdi, rdx ; +0x24, 0x1800b1e14 xor r8d, r8d ; +0x27, 0x1800b1e17 lea rdx, [rsp+158h+var_128] ; +0x2a, 0x1800b1e1a mov rsi, rcx ; +0x2f, 0x1800b1e1f call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x32, 0x1800b1e22 mov ebx, eax ; +0x37, 0x1800b1e27 test eax, eax ; +0x39, 0x1800b1e29 jnz short loc_1800B1E40 ; +0x3b, 0x1800b1e2b mov rcx, [rsp+158h+var_128] ; +0x3d, 0x1800b1e2d mov rdx, rdi ; +0x42, 0x1800b1e32 call sub_1800E83E0 ; +0x45, 0x1800b1e35 mov ebx, eax ; +0x4a, 0x1800b1e3a test eax, eax ; +0x4c, 0x1800b1e3c jz short loc_1800B1E81 ; +0x4e, 0x1800b1e3e mov rax, cs:off_1801AED20 ; +0x50, 0x1800b1e40 test byte ptr [rax+10h], 80h ; +0x57, 0x1800b1e47 jz short loc_1800B1E7F ; +0x5b, 0x1800b1e4b mov r8, rdi ; +0x5d, 0x1800b1e4d lea rcx, [rsp+158h+var_118] ; +0x60, 0x1800b1e50 mov edx, 100h ; +0x65, 0x1800b1e55 call sub_1800F3230 ; +0x6a, 0x1800b1e5a lea rax, [rsp+158h+var_118] ; +0x6f, 0x1800b1e5f mov r8, rsi ; +0x74, 0x1800b1e64 lea r9, aSystemSetuserd; "System::setUserData" ; +0x77, 0x1800b1e67 mov [rsp+158h+var_138], rax ; +0x7e, 0x1800b1e6e mov edx, 1 ; +0x83, 0x1800b1e73 mov ecx, ebx ; +0x88, 0x1800b1e78 call sub_1800B20E0 ; +0x8a, 0x1800b1e7a mov eax, ebx ; +0x8f, 0x1800b1e7f mov rcx, [rsp+158h+var_18] ; +0x91, 0x1800b1e81 xor rcx, rsp; StackCookie ; +0x99, 0x1800b1e89 call __security_check_cookie ; +0x9c, 0x1800b1e8c lea r11, [rsp+158h+var_8] ; +0xa1, 0x1800b1e91 mov rbx, [r11+20h] ; +0xa9, 0x1800b1e99 mov rsi, [r11+28h] ; +0xad, 0x1800b1e9d mov rsp, r11 ; +0xb1, 0x1800b1ea1 pop rdi ; +0xb4, 0x1800b1ea4 retn ; +0xb5, 0x1800b1ea5