// // SetGroupIDLayer::callRemoveFromGroup from 0xabaeb8 to 0xabafb4 (252 bytes) // // 4 xrefs: // > @ 0xb4838 // > SetGroupIDLayer::onRemoveFromGroup @ 0xab996c // > SetGroupIDLayer::callRemoveFromGroup @ 0xabaec8 // > @ 0x15452b8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:01:01 +0000 // __int64 __fastcall SetGroupIDLayer::callRemoveFromGroup(SetGroupIDLayer *this, float a2) { cocos2d::CCDictionary *v3; // x0 __int64 v4; // x1 GameManager *v5; // x0 unsigned int v6; // w20 __int64 v7; // x0 __int64 result; // x0 __int64 v9; // x0 bool v10; // cf unsigned int v11; // w1 GameManager *v12; // x21 __int64 v13; // x0 GameManager *isGroupParentOf; // x0 cocos2d::CCNode::unschedule(this, SetGroupIDLayer::callRemoveFromGroup, 0); v3 = *((cocos2d::CCDictionary **)this + 102); v4 = *((int *)this + 200); *((_BYTE *)this + 798) = 0; if ( cocos2d::CCDictionary::objectForKey(v3, v4) || cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 103), *((int *)this + 200)) ) { v5 = *((GameManager **)this + 84); v6 = 0; if ( v5 ) { v7 = GameManager::sharedState(v5); GJBaseGameLayer::removeGroupParent( *(cocos2d::CCDictionary ***)(v7 + 552), *((GameObject **)this + 84), *((_DWORD *)this + 200)); } else { while ( 1 ) { v10 = v6 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 85)); v11 = v6++; if ( v10 ) break; v12 = (GameManager *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 85), v11); v13 = GameManager::sharedState(v12); isGroupParentOf = (GameManager *)(unsigned __int8)GJBaseGameLayer::isGroupParentOf( *(cocos2d::CCDictionary ***)(v13 + 552), v12, *((_DWORD *)this + 200)); if ( (_BYTE)isGroupParentOf ) { v9 = GameManager::sharedState(isGroupParentOf); GJBaseGameLayer::removeGroupParent(*(cocos2d::CCDictionary ***)(v9 + 552), v12, *((_DWORD *)this + 200)); } } } result = SetGroupIDLayer::updateGroupIDButtons((cocos2d::CCArray **)this); *((_DWORD *)this + 200) = 0; } else { result = SetGroupIDLayer::removeGroupID(this, *((_DWORD *)this + 200)); *((_DWORD *)this + 200) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source