// // SelectSettingLayer::onSelect from 0xa343ac to 0xa34498 (236 bytes) // // 4 xrefs: // > SelectSettingLayer::init @ 0xa39464 // > @ 0xb2428 // > SelectSettingLayer::init @ 0xa39288 // > @ 0x122e2e8 // // 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 SelectSettingLayer::onSelect(SelectSettingLayer *a1, cocos2d::CCObject *a2) { unsigned int v3; // w19 __int64 v4; // x2 void (*v5)(void); // x2 _BYTE v6[3]; // [xsp+40h] [xbp+40h] BYREF if ( a2 ) a1->m_settingID = a2->getTag(a2); v3 = 0; while ( v3 < (unsigned int)cocos2d::CCArray::count(a1->m_settingSprites) ) { v4 = *(_QWORD *)cocos2d::CCArray::objectAtIndex(a1->m_settingSprites, v3); if ( a1->m_settingID == v3 ) { ++v3; (*(void (**)(void))(v4 + 944))(); } else { v5 = *(void (**)(void))(v4 + 944); memset(v6, 125, sizeof(v6)); ++v3; v5(); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source