// // SetupRandAdvTriggerPopup::removeGroupID from 0x10038f3a0 to 0x10038f51c (380 bytes) // // 1 xrefs: // > SetupRandAdvTriggerPopup::callRemoveFromGroup @ 0x10038f697 // // 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 SetupRandAdvTriggerPopup::removeGroupID(SetupRandAdvTriggerPopup *a1, int a2) { SetupRandAdvTriggerPopup *v2; // rbx EffectGameObject *m_gameObject; // r13 EffectGameObject_vtbl *v4; // r15 __int64 v5; // r12 __int64 v6; // rcx size_t v7; // r12 unsigned int v8; // r15d __int64 v9; // rax _DWORD *v10; // r12 __int64 v11; // r13 __int64 v12; // rdx size_t v13; // r13 __int64 v14; // rbx v2 = a1; a1->m_performedAction = 1; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { v4 = m_gameObject[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v5 = *(_QWORD *)&m_gameObject[1].m_uID - (_QWORD)v4; if ( v5 ) { v6 = (v5 >> 4 == 0) + (v5 >> 4); v7 = v5 - 16; while ( LODWORD(v4->copyWithZone) != a2 ) { v4 = (EffectGameObject_vtbl *)((char *)v4 + 16); v7 -= 16LL; if ( !--v6 ) goto LABEL_21; } if ( &v4->~EffectGameObject_0 != (void (__cdecl **)(EffectGameObject *__hidden))*(EffectGameObject_vtbl **)&m_gameObject[1].m_uID ) memmove(v4, &v4->~EffectGameObject_0, v7); *(_QWORD *)&m_gameObject[1].m_uID = (char *)v4 + v7; } } else if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v8 = 0; do { v9 = sub_1007200C0(v2->m_gameObjects, v8); v10 = *(_DWORD **)(v9 + 1840); v11 = *(_QWORD *)(v9 + 1848) - (_QWORD)v10; if ( v11 ) { v12 = (v11 >> 4 == 0) + (v11 >> 4); v13 = v11 - 16; while ( *v10 != a2 ) { v10 += 4; v13 -= 16LL; if ( !--v12 ) goto LABEL_10; } if ( v10 + 4 != *(_DWORD **)(v9 + 1848) ) { v14 = v9; memmove(v10, v10 + 4, v13); v9 = v14; v2 = a1; } *(_QWORD *)(v9 + 1848) = (char *)v10 + v13; } LABEL_10: ++v8; } while ( v8 < (unsigned int)sub_100720070(v2->m_gameObjects) ); } LABEL_21: SetupRandAdvTriggerPopup::updateGroupIDButtons(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source