// // sub_18003B470 from 0x18003b470 to 0x18003b4f0 (128 bytes) // // 2 xrefs: // > sub_18003B680 @ 0x18003b6ec // > @ 0x1801f7d58 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:53:08 +0000 // __int64 __fastcall sub_18003B470(__int64 a1) { __int64 v1; // rdx __int64 result; // rax v1 = *(_QWORD *)(a1 + 616); if ( !v1 || *(_QWORD *)(a1 + 376) ) return 39; if ( *(_WORD *)v1 == 0xFFFE ) { if ( (*(_QWORD *)(v1 + 24) != 0x10000000000001LL || *(_QWORD *)(v1 + 32) != 0x719B3800AA000080LL) && (*(_QWORD *)(v1 + 24) != 0x10000000000003LL || *(_QWORD *)(v1 + 32) != 0x719B3800AA000080LL) ) { return 39; } } else if ( ((*(_WORD *)v1 - 1) & 0xFFFD) != 0 ) { return 39; } result = 0; if ( *(_WORD *)(v1 + 14) == 8 ) return 39; return result; }