// // SelectSettingLayer::onSelect from 0x140323e10 to 0x140323eb4 (164 bytes) // // 2 xrefs: // > SelectSettingLayer::init @ 0x140323617 // > @ 0x1406d4d54 // // 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 i; // ebx int *p_m_unknown2; // rcx void (__fastcall *v5)(int *, _BYTE *); // r8 _BYTE *v6; // rdx _BYTE v7[3]; // [rsp+30h] [rbp+8h] BYREF if ( a2 ) a1->m_settingID = a2->getTag(a2); for ( i = 0; i < cocos2d::CCArray::count(a1->m_settingSprites); ++i ) { p_m_unknown2 = &cocos2d::CCArray::objectAtIndex(a1->m_settingSprites, i)[5].m_unknown2; v5 = **(void (__fastcall ***)(int *, _BYTE *))p_m_unknown2; if ( a1->m_settingID == i ) { v6 = &unk_140529B78; } else { memset(v7, 125, sizeof(v7)); v6 = v7; } v5(p_m_unknown2, v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source