; ; FMOD::System::update from 0x1800b2020 to 0x1800b20d4 (180 bytes) ; ; 3 xrefs: ; > FMOD_System_Update @ 0x1800c6fb9 ; > @ 0x180194348 ; > @ 0x1801fccc0 ; ; 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_8], rbx ; +0x0, 0x1800b2020 push rdi ; +0x5, 0x1800b2025 sub rsp, 150h ; +0x6, 0x1800b2026 mov rax, cs:__security_cookie ; +0xd, 0x1800b202d xor rax, rsp ; +0x14, 0x1800b2034 mov [rsp+158h+var_18], rax ; +0x17, 0x1800b2037 lea r8, [rsp+158h+var_128] ; +0x1f, 0x1800b203f mov [rsp+158h+var_128], 0 ; +0x24, 0x1800b2044 lea rdx, [rsp+158h+var_120] ; +0x2d, 0x1800b204d mov rdi, rcx ; +0x32, 0x1800b2052 call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x35, 0x1800b2055 mov ebx, eax ; +0x3a, 0x1800b205a test eax, eax ; +0x3c, 0x1800b205c jnz short loc_1800B2070 ; +0x3e, 0x1800b205e mov rcx, [rsp+158h+var_120] ; +0x40, 0x1800b2060 call sub_1800E8460 ; +0x45, 0x1800b2065 mov ebx, eax ; +0x4a, 0x1800b206a test eax, eax ; +0x4c, 0x1800b206c jz short loc_1800B20A2 ; +0x4e, 0x1800b206e mov rax, cs:off_1801AED20 ; +0x50, 0x1800b2070 test byte ptr [rax+10h], 80h ; +0x57, 0x1800b2077 jz short loc_1800B20A2 ; +0x5b, 0x1800b207b lea rax, [rsp+158h+var_118] ; +0x5d, 0x1800b207d mov [rsp+158h+var_118], 0 ; +0x62, 0x1800b2082 lea r9, aSystemUpdate; "System::update" ; +0x67, 0x1800b2087 mov [rsp+158h+var_138], rax ; +0x6e, 0x1800b208e mov r8, rdi ; +0x73, 0x1800b2093 mov edx, 1 ; +0x76, 0x1800b2096 mov ecx, ebx ; +0x7b, 0x1800b209b call sub_1800B20E0 ; +0x7d, 0x1800b209d mov rcx, [rsp+158h+var_128] ; +0x82, 0x1800b20a2 test rcx, rcx ; +0x87, 0x1800b20a7 jz short loc_1800B20B1 ; +0x8a, 0x1800b20aa call sub_180102320 ; +0x8c, 0x1800b20ac mov eax, ebx ; +0x91, 0x1800b20b1 mov rcx, [rsp+158h+var_18] ; +0x93, 0x1800b20b3 xor rcx, rsp; StackCookie ; +0x9b, 0x1800b20bb call __security_check_cookie ; +0x9e, 0x1800b20be mov rbx, [rsp+158h+arg_8] ; +0xa3, 0x1800b20c3 add rsp, 150h ; +0xab, 0x1800b20cb pop rdi ; +0xb2, 0x1800b20d2 retn ; +0xb3, 0x1800b20d3