// // sub_1403543C0 from 0x1403543c0 to 0x1403544e1 (289 bytes) // // 7 xrefs: // > GJBaseGameLayer::addRemapTargets @ 0x140313cbe // > GJBaseGameLayer::prepareSavePositionObjects @ 0x140321008 // > GJBaseGameLayer::generateTargetGroups @ 0x14032d79f // > GJBaseGameLayer::generateVisibilityGroups @ 0x14033a195 // > GJBaseGameLayer::GJBaseGameLayer @ 0x1403ebb62 // > sub_140403620 @ 0x140403923 // > @ 0x14092060c // // 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:30:48 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall sub_1403543C0(__int64 a1) { _QWORD *v2; // rax __int64 v3; // rbx _QWORD *v4; // rdi _QWORD *v5; // rcx __int64 v6; // rax _QWORD *v7; // rax *(_DWORD *)a1 = 0; *(_QWORD *)(a1 + 8) = 0; *(_QWORD *)(a1 + 16) = 0; v2 = operator new(0x58u); *v2 = v2; v2[1] = v2; *(_QWORD *)(a1 + 8) = v2; *(_QWORD *)(a1 + 24) = 0; *(_QWORD *)(a1 + 32) = 0; *(_QWORD *)(a1 + 40) = 0; *(_QWORD *)(a1 + 48) = 7; *(_QWORD *)(a1 + 56) = 8; *(_DWORD *)a1 = 1065353216; v3 = *(_QWORD *)(a1 + 8); v4 = operator new(0x80u); v5 = *(_QWORD **)(a1 + 24); v6 = (__int64)(*(_QWORD *)(a1 + 40) - (_QWORD)v5) >> 3; if ( v6 ) { if ( (unsigned __int64)(8 * v6) >= 0x1000 ) { if ( (unsigned __int64)v5 - *(v5 - 1) - 8 > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); v5 = (_QWORD *)*(v5 - 1); } j_j_free(v5); } *(_QWORD *)(a1 + 24) = v4; v7 = v4 + 16; *(_QWORD *)(a1 + 32) = v4 + 16; *(_QWORD *)(a1 + 40) = v4 + 16; do *v4++ = v3; while ( v4 != v7 ); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source