// // EditorUI::editGroup from 0x48575c to 0x4857fa (158 bytes) // // 1 xrefs: // > EditorUI::handleEditorAction @ 0x6f23e4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:25 +0000 // int __fastcall EditorUI::editGroup(EditorUI *this, cocos2d::CCObject *a2) { int result; // r0 EditorBuildStats *v4; // r0 EditorSFXManager *v5; // r0 EditorSFXManager *v6; // r0 cocos2d::CCArray *v7; // r2 int *v8; // r0 int *v9; // r6 int NextFreeGroupID; // r7 int v11; // r3 _DWORD v12[5]; // [sp+0h] [bp-1Ch] BYREF if ( *((_DWORD *)this + 249) || (result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167))) != 0 ) { v4 = (EditorBuildStats *)(*((_DWORD *)this + 236) + 12104); *((_DWORD *)v4 + 4) = *(_DWORD *)(*((_DWORD *)this + 236) + 12120) + 1; v5 = (EditorSFXManager *)EditorBuildStats::noteAction(v4); v6 = (EditorSFXManager *)EditorSFXManager::sharedState(v5); EditorSFXManager::playAction(v6, 108, 107); v8 = (int *)SetGroupIDLayer::create(*((SetGroupIDLayer **)this + 249), *((GameObject **)this + 167), v7); memset(v12, 0, 16); v12[4] = 1065353216; v9 = v8; NextFreeGroupID = LevelEditorLayer::getNextFreeGroupID(*((LevelEditorLayer **)this + 236), (int)v12); std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)v12); v11 = *v9; v9[155] = NextFreeGroupID; return (*(int (__fastcall **)(int *))(v11 + 656))(v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source