// // EditorUI::onGroupIDFilter from 0x686d34 to 0x686f3c (520 bytes) // // 3 xrefs: // > @ 0xa2de0 // > EditorUI::setupDeleteMenu @ 0x6881e0 // > @ 0x122d9b0 // // 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 EditorUI::onGroupIDFilter(EditorUI *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 unsigned int IntGameVariable; // w20 _QWORD *v5; // x19 void *v6; // x0 void *v7; // x0 unsigned int *v8; // x1 int v9; // w2 unsigned int *v10; // x1 int v11; // w2 __int64 v12; // [xsp+68h] [xbp+58h] BYREF __int64 v13; // [xsp+70h] [xbp+60h] BYREF v3 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v3, "0133"); sub_D153B8((int)&v12, "GroupID Filter"); sub_D153B8((int)&v13, "OK"); v5 = (_QWORD *)((_QWORD *(__fastcall *)(SetIDPopup *__hidden, int, int, int, std::string, std::string, bool, int, float, bool))SetIDPopup::create)( (SetIDPopup *)IntGameVariable, 0, 9999, (int)&v12, (std::string)&v13, (std::string)1LL, 0, 1, 0.0, 0); v6 = (void *)(v13 - 24); if ( (__int64 *)(v13 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v13 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *(_DWORD *)(v13 - 8); *(_DWORD *)(v13 - 8) = v9 - 1; } if ( v9 <= 0 ) operator delete(v6); } v7 = (void *)(v12 - 24); if ( (__int64 *)(v12 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v12 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *(_DWORD *)(v12 - 8); *(_DWORD *)(v12 - 8) = v11 - 1; } if ( v11 <= 0 ) operator delete(v7); } (*(void (__fastcall **)(_QWORD *, __int64))(*v5 + 72LL))(v5, 1); v5[84] = &a1->SetIDPopupDelegate; (*(void (__fastcall **)(_QWORD *))(*v5 + 1288LL))(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source