// // UIPOptionsLayer::valueDidChange from 0x5d4000 to 0x5d4068 (104 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:54:07 +0000 // GameManager *__fastcall UIPOptionsLayer::valueDidChange(GameManager *this, int a2, float a3) { GameManager *v3; // r5 unsigned int v5; // r4 float i; // s16 cocos2d::CCArray *v7; // r0 cocos2d::CCArray *v8; // r0 int v9; // r0 v3 = this; if ( a2 == -29 ) { v5 = 0; *(float *)(GameManager::sharedState(this) + 1316) = a3; for ( i = a3 * 255.0; ; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v9 + 456))(v9, (unsigned __int8)(unsigned int)i) ) { v7 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)v3 + 179) + 244))(*((_DWORD *)v3 + 179)); this = (GameManager *)cocos2d::CCArray::count(v7); if ( v5 >= (unsigned int)this ) break; v8 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)v3 + 179) + 244))(*((_DWORD *)v3 + 179)); v9 = cocos2d::CCArray::objectAtIndex(v8, v5++); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source