// // sub_1800DC050 from 0x1800dc050 to 0x1800dc1a8 (344 bytes) // // 5 xrefs: // > sub_1800DA0D0 @ 0x1800da22e // > sub_1800DA0D0 @ 0x1800da28f // > @ 0x18014c424 // > @ 0x18014c434 // > @ 0x1801c4d4c // // 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 11:22:35 +0000 // __int64 (*__fastcall sub_1800DC050(__int64 a1, int a2))(void) { __int64 (*result)(void); // rax int v5; // edi _BYTE *v6; // rsi int v7; // eax result = *(__int64 (**)(void))(a1 + 768); if ( result ) result = (__int64 (*)(void))result(); if ( !a2 ) { v5 = 0; v6 = (_BYTE *)(a1 + 136); do { if ( *v6 == 1 ) { v7 = sub_1800D8170(v5); result = (__int64 (*)(void))sub_1800DD1E0(a1, v5, v7, 0, 0); } ++v5; ++v6; } while ( v5 <= 348 ); if ( *(_BYTE *)(a1 + 128) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 0, 0, 0); if ( *(_BYTE *)(a1 + 129) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 1, 0, 0); if ( *(_BYTE *)(a1 + 130) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 2, 0, 0); if ( *(_BYTE *)(a1 + 131) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 3, 0, 0); if ( *(_BYTE *)(a1 + 132) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 4, 0, 0); if ( *(_BYTE *)(a1 + 133) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 5, 0, 0); if ( *(_BYTE *)(a1 + 134) == 1 ) result = (__int64 (*)(void))sub_1800DD260(a1, 6, 0, 0); if ( *(_BYTE *)(a1 + 135) == 1 ) return (__int64 (*)(void))sub_1800DD260(a1, 7, 0, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source