// // SetupEnterEffectPopup::onNextFreeEnterEffectID from 0x1003e0570 to 0x1003e0606 (150 bytes) // // 1 xrefs: // > sub_1003DDDD0 @ 0x1003dfad7 // // 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:29:45 +0000 // __int64 __fastcall SetupEnterEffectPopup::onNextFreeEnterEffectID(_QWORD *a1) { __int64 v2; // rdi int NextFreeAreaEffectID; // r14d _QWORD *v4; // rdi _QWORD *v5; // r15 void *v6; // rdi void *v8[2]; // [rsp+0h] [rbp-40h] BYREF void *__p[2]; // [rsp+10h] [rbp-30h] int v10; // [rsp+20h] [rbp-20h] v2 = *(_QWORD *)(GameManager::sharedState() + 552); *(_OWORD *)__p = 0; *(_OWORD *)v8 = 0; v10 = 1065353216; NextFreeAreaEffectID = LevelEditorLayer::getNextFreeAreaEffectID(v2, (__int64)v8); v4 = __p[0]; if ( __p[0] ) { do { v5 = (_QWORD *)*v4; operator delete(v4); v4 = v5; } while ( v5 ); } v6 = v8[0]; v8[0] = nullptr; if ( v6 ) operator delete(v6); return SetupTriggerPopup::updateValue(a1, 0xE1u, (float)NextFreeAreaEffectID); }
GD Web Decomp Icon

GD Web Decomp

Raw Source