// // SetGroupIDLayer::updateOrderChannel from 0x979a10 to 0x979ad0 (192 bytes) // // 4 xrefs: // > SetGroupIDLayer::textChanged @ 0x979cd4 // > SetGroupIDLayer::onArrow @ 0x97a09c // > SetGroupIDLayer::onNextFreeOrderChannel @ 0x97cf5c // > @ 0xa64d0 // // 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 SetGroupIDLayer::updateOrderChannel(SetGroupIDLayer *a1) { GameObject *m_targetObject; // x0 unsigned int v3; // w19 bool v4; // cf unsigned int v5; // w1 _DWORD *v6; // x21 m_targetObject = a1->m_targetObject; v3 = 0; a1->m_channelUpdated = 1; if ( m_targetObject ) { if ( m_targetObject->canBeOrdered(m_targetObject) ) LODWORD(a1->m_targetObject[1].m_obRect.origin.x) = a1->m_channelValue; } else { while ( 1 ) { v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_targetObjects); v5 = v3++; if ( v4 ) break; while ( 1 ) { v6 = (_DWORD *)cocos2d::CCArray::objectAtIndex(a1->m_targetObjects, v5); if ( !(*(unsigned __int8 (__fastcall **)(_DWORD *))(*(_QWORD *)v6 + 1680LL))(v6) ) break; v6[440] = a1->m_channelValue; v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_targetObjects); v5 = v3++; if ( v4 ) return; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source