// // EditorUI::onAssignNewGroupID from 0x48cab4 to 0x48cb66 (178 bytes) // // 0 xrefs: // // 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:31 +0000 // int __fastcall EditorUI::onAssignNewGroupID(EditorUI *this, cocos2d::CCObject *a2) { cocos2d::CCArray *v3; // r0 cocos2d::CCArray *v4; // r7 int result; // r0 LevelEditorLayer *v6; // r0 int NextFreeGroupID; // r8 unsigned int i; // r4 int v9; // r9 _DWORD v10[5]; // [sp+0h] [bp-1Ch] BYREF v3 = *((cocos2d::CCArray **)this + 249); if ( v3 ) v4 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v3, a2); else v4 = *((cocos2d::CCArray **)this + 167); result = cocos2d::CCArray::count(v4); if ( result ) { v6 = *((LevelEditorLayer **)this + 236); memset(v10, 0, 16); v10[4] = 1065353216; NextFreeGroupID = LevelEditorLayer::getNextFreeGroupID(v6, (int)v10); std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)v10); for ( i = 0; i < cocos2d::CCArray::count(v4); ++i ) { v9 = cocos2d::CCArray::objectAtIndex(v4, i); if ( (*(int (__fastcall **)(int, int))(*(_DWORD *)v9 + 800))(v9, NextFreeGroupID) == 1 ) (*(void (__fastcall **)(_DWORD, int, int, _DWORD))(**((_DWORD **)this + 236) + 676))( *((_DWORD *)this + 236), v9, NextFreeGroupID, 0); } return EditorUI::updateObjectInfoLabel((cocos2d::CCArray **)this); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source