; ; FMOD::System::getGeometrySettings from 0x1800ad980 to 0x1800ada50 (208 bytes) ; ; 3 xrefs: ; > FMOD_System_GetGeometrySettings @ 0x1800c6b29 ; > @ 0x180194348 ; > @ 0x1801fc444 ; ; 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, 0x1800ad980 mov [rsp+arg_18], rsi ; +0x5, 0x1800ad985 push rdi ; +0xa, 0x1800ad98a sub rsp, 150h ; +0xb, 0x1800ad98b mov rax, cs:__security_cookie ; +0x12, 0x1800ad992 xor rax, rsp ; +0x19, 0x1800ad999 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800ad99c mov rdi, rdx ; +0x24, 0x1800ad9a4 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800ad9a7 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800ad9b0 mov rsi, rcx ; +0x35, 0x1800ad9b5 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800ad9b8 call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800ad9bd mov ebx, eax ; +0x42, 0x1800ad9c2 test eax, eax ; +0x44, 0x1800ad9c4 jnz short loc_1800AD9DB ; +0x46, 0x1800ad9c6 mov rcx, [rsp+158h+var_120] ; +0x48, 0x1800ad9c8 mov rdx, rdi ; +0x4d, 0x1800ad9cd call sub_1800E43C0 ; +0x50, 0x1800ad9d0 mov ebx, eax ; +0x55, 0x1800ad9d5 test eax, eax ; +0x57, 0x1800ad9d7 jz short loc_1800ADA1A ; +0x59, 0x1800ad9d9 mov rax, cs:off_1801AED20 ; +0x5b, 0x1800ad9db test byte ptr [rax+10h], 80h ; +0x62, 0x1800ad9e2 jz short loc_1800ADA1A ; +0x66, 0x1800ad9e6 mov r8, rdi ; +0x68, 0x1800ad9e8 lea rcx, [rsp+158h+var_118] ; +0x6b, 0x1800ad9eb mov edx, 100h ; +0x70, 0x1800ad9f0 call sub_1800F30A0 ; +0x75, 0x1800ad9f5 lea rax, [rsp+158h+var_118] ; +0x7a, 0x1800ad9fa mov r8, rsi ; +0x7f, 0x1800ad9ff lea r9, aSystemGetgeome_0; "System::getGeometrySettings" ; +0x82, 0x1800ada02 mov [rsp+158h+var_138], rax ; +0x89, 0x1800ada09 mov edx, 1 ; +0x8e, 0x1800ada0e mov ecx, ebx ; +0x93, 0x1800ada13 call sub_1800B20E0 ; +0x95, 0x1800ada15 mov rcx, [rsp+158h+var_128] ; +0x9a, 0x1800ada1a test rcx, rcx ; +0x9f, 0x1800ada1f jz short loc_1800ADA29 ; +0xa2, 0x1800ada22 call sub_180102320 ; +0xa4, 0x1800ada24 mov eax, ebx ; +0xa9, 0x1800ada29 mov rcx, [rsp+158h+var_18] ; +0xab, 0x1800ada2b xor rcx, rsp; StackCookie ; +0xb3, 0x1800ada33 call __security_check_cookie ; +0xb6, 0x1800ada36 lea r11, [rsp+158h+var_8] ; +0xbb, 0x1800ada3b mov rbx, [r11+20h] ; +0xc3, 0x1800ada43 mov rsi, [r11+28h] ; +0xc7, 0x1800ada47 mov rsp, r11 ; +0xcb, 0x1800ada4b pop rdi ; +0xce, 0x1800ada4e retn ; +0xcf, 0x1800ada4f