// // sub_1403546E0 from 0x1403546e0 to 0x1403547a3 (195 bytes) // // 11 xrefs: // > EditorUI::onPlayback @ 0x1401b41f3 // > sub_14030DAE0 @ 0x14030e938 // > GJBaseGameLayer::resetLevelVariables @ 0x1403451bb // > sub_14035E280 @ 0x14035e286 // > LevelEditorLayer::updateGameObjects @ 0x1403fb7bd // > LevelEditorLayer::onPlaytest @ 0x1403ff194 // > sub_14052BA90 @ 0x14052bb95 // > @ 0x1408b9030 // > @ 0x1408b9044 // > @ 0x1408b9078 // > @ 0x1409206a8 // // 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 // void __fastcall sub_1403546E0(_QWORD *a1) { unsigned __int64 v2; // rcx __int64 v3; // rsi _QWORD *v4; // rsi _QWORD *v5; // rbx unsigned __int64 *v6; // rdx unsigned __int64 *v7; // rcx unsigned __int64 v8; // [rsp+30h] [rbp+8h] BYREF v2 = a1[2]; if ( v2 ) { v3 = a1[1]; if ( a1[7] >> 3 <= v2 ) { **(_QWORD **)(v3 + 8) = 0; v4 = *(_QWORD **)v3; if ( v4 ) { do { v5 = (_QWORD *)*v4; sub_1400C6AA0((__int64)(v4 + 3)); j_j_free(v4); v4 = v5; } while ( v5 ); } *(_QWORD *)a1[1] = a1[1]; *(_QWORD *)(a1[1] + 8LL) = a1[1]; a1[2] = 0; v6 = (unsigned __int64 *)a1[4]; v7 = (unsigned __int64 *)a1[3]; v8 = a1[1]; sub_14003EC90(v7, v6, &v8); } else { sub_1403591B0(a1, *(_QWORD *)v3, a1[1]); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source