; ; FMOD::System::close from 0x1800abc00 to 0x1800abcd0 (208 bytes) ; ; 3 xrefs: ; > FMOD_System_Close @ 0x1800c6859 ; > @ 0x180194348 ; > @ 0x1801fc06c ; ; 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, 0x1800abc00 push rdi ; +0x5, 0x1800abc05 sub rsp, 150h ; +0x6, 0x1800abc06 mov rax, cs:__security_cookie ; +0xd, 0x1800abc0d xor rax, rsp ; +0x14, 0x1800abc14 mov [rsp+158h+var_18], rax ; +0x17, 0x1800abc17 lea r8, [rsp+158h+var_128] ; +0x1f, 0x1800abc1f mov [rsp+158h+var_128], 0 ; +0x24, 0x1800abc24 lea rdx, [rsp+158h+var_120] ; +0x2d, 0x1800abc2d mov rdi, rcx ; +0x32, 0x1800abc32 call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x35, 0x1800abc35 mov ebx, eax ; +0x3a, 0x1800abc3a test eax, eax ; +0x3c, 0x1800abc3c jnz short loc_1800ABC6C ; +0x3e, 0x1800abc3e mov rcx, [rsp+158h+var_128] ; +0x40, 0x1800abc40 test rcx, rcx ; +0x45, 0x1800abc45 jz short loc_1800ABC53 ; +0x48, 0x1800abc48 call sub_180102320 ; +0x4a, 0x1800abc4a test eax, eax ; +0x4f, 0x1800abc4f jnz short loc_1800ABC5C ; +0x51, 0x1800abc51 mov [rsp+158h+var_128], 0 ; +0x53, 0x1800abc53 mov rcx, [rsp+158h+var_120] ; +0x5c, 0x1800abc5c call sub_1800E25F0 ; +0x61, 0x1800abc61 mov ebx, eax ; +0x66, 0x1800abc66 test eax, eax ; +0x68, 0x1800abc68 jz short loc_1800ABC9E ; +0x6a, 0x1800abc6a mov rax, cs:off_1801AED20 ; +0x6c, 0x1800abc6c test byte ptr [rax+10h], 80h ; +0x73, 0x1800abc73 jz short loc_1800ABC9E ; +0x77, 0x1800abc77 lea rax, [rsp+158h+var_118] ; +0x79, 0x1800abc79 mov [rsp+158h+var_118], 0 ; +0x7e, 0x1800abc7e lea r9, aSystemClose; "System::close" ; +0x83, 0x1800abc83 mov [rsp+158h+var_138], rax ; +0x8a, 0x1800abc8a mov r8, rdi ; +0x8f, 0x1800abc8f mov edx, 1 ; +0x92, 0x1800abc92 mov ecx, ebx ; +0x97, 0x1800abc97 call sub_1800B20E0 ; +0x99, 0x1800abc99 mov rcx, [rsp+158h+var_128] ; +0x9e, 0x1800abc9e test rcx, rcx ; +0xa3, 0x1800abca3 jz short loc_1800ABCAD ; +0xa6, 0x1800abca6 call sub_180102320 ; +0xa8, 0x1800abca8 mov eax, ebx ; +0xad, 0x1800abcad mov rcx, [rsp+158h+var_18] ; +0xaf, 0x1800abcaf xor rcx, rsp; StackCookie ; +0xb7, 0x1800abcb7 call __security_check_cookie ; +0xba, 0x1800abcba mov rbx, [rsp+158h+arg_8] ; +0xbf, 0x1800abcbf add rsp, 150h ; +0xc7, 0x1800abcc7 pop rdi ; +0xce, 0x1800abcce retn ; +0xcf, 0x1800abccf