// // sub_180070340 from 0x180070340 to 0x18007051e (478 bytes) // // 3 xrefs: // > @ 0x180183734 // > @ 0x1801ad0c0 // > @ 0x1801f98f4 // // 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 // void __fastcall sub_180070340(__int64 *a1, __int64 a2, __int64 a3) { __int64 v3; // rbx __int64 v4; // rax unsigned int v5; // edi __int64 i; // rsi _DWORD *v7; // rcx int v8; // eax v3 = *a1; *(_DWORD *)(v3 + 544) = 1065353216; *(_DWORD *)(v3 + 548) = 1065353216; *(_DWORD *)(v3 + 552) = 1065353216; *(_DWORD *)(v3 + 556) = 1065353216; *(_DWORD *)(v3 + 560) = 1065353216; *(_DWORD *)(v3 + 564) = 1065353216; *(_DWORD *)(v3 + 568) = 1065353216; *(_DWORD *)(v3 + 572) = 1065353216; *(_DWORD *)(v3 + 576) = 1065353216; *(_DWORD *)(v3 + 580) = 1065353216; *(_DWORD *)(v3 + 584) = 1065353216; *(_DWORD *)(v3 + 588) = 1065353216; *(_DWORD *)(v3 + 592) = 1065353216; *(_DWORD *)(v3 + 596) = 1065353216; *(_DWORD *)(v3 + 600) = 1065353216; *(_DWORD *)(v3 + 604) = 1065353216; *(_DWORD *)(v3 + 608) = 1065353216; *(_DWORD *)(v3 + 612) = 1065353216; *(_DWORD *)(v3 + 616) = 1065353216; *(_DWORD *)(v3 + 620) = 1065353216; *(_DWORD *)(v3 + 624) = 1065353216; *(_DWORD *)(v3 + 628) = 1065353216; *(_DWORD *)(v3 + 632) = 1065353216; *(_DWORD *)(v3 + 636) = 1065353216; *(_DWORD *)(v3 + 640) = 1065353216; *(_DWORD *)(v3 + 644) = 1065353216; *(_DWORD *)(v3 + 648) = 1065353216; *(_DWORD *)(v3 + 652) = 1065353216; *(_DWORD *)(v3 + 656) = 1065353216; *(_DWORD *)(v3 + 660) = 1065353216; *(_DWORD *)(v3 + 664) = 1065353216; *(_DWORD *)(v3 + 668) = 1065353216; if ( v3 != -672 ) *(_DWORD *)(v3 + 672) = *(_DWORD *)(*(_QWORD *)(v3 + 168) + 1744LL); v4 = *(_QWORD *)(v3 + 232); v5 = 0; if ( *(int *)(v4 + 96) > 0 ) { for ( i = 0; ; i += 8 ) { v7 = *(_DWORD **)(i + *(_QWORD *)(v4 + 104)); if ( !*v7 ) break; if ( *v7 == 2 ) { LOBYTE(a3) = v7[12] != 0; v8 = sub_18009BC60(v3, v5, a3); goto LABEL_9; } LABEL_10: v4 = *(_QWORD *)(v3 + 232); if ( (signed int)++v5 >= *(_DWORD *)(v4 + 96) ) return; } sub_18009C0C0(v3, v5); LABEL_9: if ( v8 ) return; goto LABEL_10; } }