// // SetupEndPopup::determineStartValues from 0x14041d580 to 0x14041d682 (258 bytes) // // 4 xrefs: // > @ 0x1405e2c38 // > @ 0x1406a0278 // > @ 0x1406a0288 // > @ 0x1406d93bc // // 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 SetupEndPopup::determineStartValues(SetupEndPopup *a1) { __int64 v2; // rcx cocos2d::CCArray *m_gameObjects; // rdi unsigned int v4; // esi struct cocos2d::CCObject *v5; // rax int m_groupID; // edx int m_uAutoReleaseCount; // ecx SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { v4 = 0; *(_WORD *)&a1->m_reversed = 257; for ( a1->m_groupID = -1; v4 < cocos2d::CCArray::count(m_gameObjects); ++v4 ) { v5 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v4); if ( !BYTE1(v5[31].m_unknown2) ) a1->m_reversed = 0; if ( !BYTE1(v5[27].m_uID) ) a1->m_lockY = 0; m_groupID = a1->m_groupID; m_uAutoReleaseCount = v5[26].m_uAutoReleaseCount; if ( m_groupID == -1 ) { a1->m_groupID = m_uAutoReleaseCount; } else if ( m_groupID != m_uAutoReleaseCount ) { a1->m_groupID = 0; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source