// // SetGroupIDLayer::onGroupIDOptions from 0x100314b90 to 0x100314d04 (372 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x100312ce6 // // 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 SetGroupIDLayer::onGroupIDOptions(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { float m_nextFreeID; // xmm0_4 __int64 v3; // rbx _WORD v4[8]; // [rsp+0h] [rbp-70h] BYREF void *__p; // [rsp+10h] [rbp-60h] char v6; // [rsp+18h] [rbp-58h] BYREF char v7[15]; // [rsp+19h] [rbp-57h] BYREF void *v8; // [rsp+28h] [rbp-48h] _QWORD v9[2]; // [rsp+30h] [rbp-40h] BYREF void *v10; // [rsp+40h] [rbp-30h] char v11; // [rsp+48h] [rbp-28h] BYREF char v12[15]; // [rsp+49h] [rbp-27h] BYREF void *v13; // [rsp+58h] [rbp-18h] m_nextFreeID = (float)GameManager::sharedState()->m_levelEditorLayer->m_levelSettings->m_nextFreeID; v11 = 28; strcpy(v12, "GroupID Offset"); v4[0] = 0; v3 = ConfigureValuePopup::create(&a1->ConfigureValuePopupDelegate, &v11, v4, 1, m_nextFreeID, 0.0, 9999.0); if ( (v4[0] & 1) != 0 ) operator delete(__p); if ( (v11 & 1) != 0 ) operator delete(v13); v6 = 8; strcpy(v7, "Help"); v10 = operator new(0x78u); v9[0] = 121; v9[1] = 116; strcpy( (char *)v10, "This lets you set a Group ID offset that Next Free will take into account and start from. Useful for collaborations."); ConfigureValuePopup::addInfoAlertButton(v3, &v6, v9); if ( (v9[0] & 1) != 0 ) operator delete(v10); if ( (v6 & 1) != 0 ) operator delete(v8); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 26); (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source