; ; FMOD::System::getCPUUsage from 0x1800acd10 to 0x1800acdc6 (182 bytes) ; ; 4 xrefs: ; > FMOD_System_GetCPUUsage @ 0x1800c6a79 ; > @ 0x180194348 ; > @ 0x1801fc294 ; > @ 0x1801fc2a0 ; ; 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, 0x1800acd10 mov [rsp+arg_18], rsi ; +0x5, 0x1800acd15 push rdi ; +0xa, 0x1800acd1a sub rsp, 150h ; +0xb, 0x1800acd1b mov rax, cs:__security_cookie ; +0x12, 0x1800acd22 xor rax, rsp ; +0x19, 0x1800acd29 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800acd2c mov rdi, rdx ; +0x24, 0x1800acd34 xor r8d, r8d ; +0x27, 0x1800acd37 lea rdx, [rsp+158h+var_128] ; +0x2a, 0x1800acd3a mov rsi, rcx ; +0x2f, 0x1800acd3f call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x32, 0x1800acd42 mov ebx, eax ; +0x37, 0x1800acd47 test eax, eax ; +0x39, 0x1800acd49 jnz short loc_1800ACD60 ; +0x3b, 0x1800acd4b mov rcx, [rsp+158h+var_128] ; +0x3d, 0x1800acd4d mov rdx, rdi ; +0x42, 0x1800acd52 call sub_1800E3E80 ; +0x45, 0x1800acd55 mov ebx, eax ; +0x4a, 0x1800acd5a test eax, eax ; +0x4c, 0x1800acd5c jz short loc_1800ACDA1 ; +0x4e, 0x1800acd5e mov rax, cs:off_1801AED20 ; +0x50, 0x1800acd60 test byte ptr [rax+10h], 80h ; +0x57, 0x1800acd67 jz short loc_1800ACD9F ; +0x5b, 0x1800acd6b mov r8, rdi ; +0x5d, 0x1800acd6d lea rcx, [rsp+158h+var_118] ; +0x60, 0x1800acd70 mov edx, 100h ; +0x65, 0x1800acd75 call sub_1800F3230 ; +0x6a, 0x1800acd7a lea rax, [rsp+158h+var_118] ; +0x6f, 0x1800acd7f mov r8, rsi ; +0x74, 0x1800acd84 lea r9, aSystemGetcpuus; "System::getCPUUsage" ; +0x77, 0x1800acd87 mov [rsp+158h+var_138], rax ; +0x7e, 0x1800acd8e mov edx, 1 ; +0x83, 0x1800acd93 mov ecx, ebx ; +0x88, 0x1800acd98 call sub_1800B20E0 ; +0x8a, 0x1800acd9a mov eax, ebx ; +0x8f, 0x1800acd9f mov rcx, [rsp+158h+var_18] ; +0x91, 0x1800acda1 xor rcx, rsp; StackCookie ; +0x99, 0x1800acda9 call __security_check_cookie ; +0x9c, 0x1800acdac lea r11, [rsp+158h+var_8] ; +0xa1, 0x1800acdb1 mov rbx, [r11+20h] ; +0xa9, 0x1800acdb9 mov rsi, [r11+28h] ; +0xad, 0x1800acdbd mov rsp, r11 ; +0xb1, 0x1800acdc1 pop rdi ; +0xb4, 0x1800acdc4 retn ; +0xb5, 0x1800acdc5