// // SetGroupIDLayer::onNextFreeOrderChannel from 0x100300470 to 0x100300588 (280 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x1002fe58e // // 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 12:28:32 +0000 // void __fastcall SetGroupIDLayer::onNextFreeOrderChannel(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // rax __int64 v5; // rdi _QWORD *v6; // rdi _QWORD *v7; // r14 void *v8; // rdi __int64 v9; // rdi unsigned int v10; // r14d _DWORD *v11; // r15 void *v12[2]; // [rsp+0h] [rbp-40h] BYREF void *__p[2]; // [rsp+10h] [rbp-30h] int v14; // [rsp+20h] [rbp-20h] GameManager::sharedState(a1, a2, a3); v5 = *(_QWORD *)(v4 + 552); *(_OWORD *)__p = 0; *(_OWORD *)v12 = 0; v14 = 1065353216; *(_DWORD *)(a1 + 756) = LevelEditorLayer::getNextFreeOrderChannel(v5, (__int64)v12); v6 = __p[0]; if ( __p[0] ) { do { v7 = (_QWORD *)*v6; operator delete(v6); v6 = v7; } while ( v7 ); } v8 = v12[0]; v12[0] = nullptr; if ( v8 ) operator delete(v8); *(_BYTE *)(a1 + 760) = 1; v9 = *(_QWORD *)(a1 + 672); if ( v9 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1696LL))(v9) ) *(_DWORD *)(*(_QWORD *)(a1 + 672) + 1776LL) = *(_DWORD *)(a1 + 756); } else if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 680)) ) { v10 = 0; do { v11 = (_DWORD *)sub_1007FEFE0(*(_QWORD *)(a1 + 680), v10); if ( (*(unsigned __int8 (__fastcall **)(_DWORD *))(*(_QWORD *)v11 + 1696LL))(v11) ) v11[444] = *(_DWORD *)(a1 + 756); ++v10; } while ( v10 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 680)) ); } SetGroupIDLayer::updateOrderChannelLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source