// // RateStarsModLayer::updateDemonRow from 0x79e5b0 to 0x79e686 (214 bytes) // // 2 xrefs: // > RateStarsModLayer::selectRating @ 0x79e756 // > RateStarsModLayer::selectDemon @ 0x79e79c // // 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:59:51 +0000 // unsigned int __fastcall RateStarsModLayer::updateDemonRow(RateStarsModLayer *this, int a2, int a3) { unsigned int v4; // r7 _BOOL4 v5; // r9 unsigned int result; // r0 int v7; // r5 int v8; // r4 int v9; // r0 int v10; // r3 void (__fastcall *v11)(int, _DWORD *); // r2 _DWORD v12[3]; // [sp+0h] [bp-Ch] BYREF v12[0] = this; v12[1] = a2; v12[2] = a3; v4 = 0; v5 = *((_DWORD *)this + 137) == 10; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 135)); if ( v4 >= result ) break; v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 135), v4); v8 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 536))(v7); (*(void (__fastcall **)(int, _BOOL4))(*(_DWORD *)v7 + 528))(v7, v5); if ( v5 ) { v9 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 32))(v7); v10 = *(_DWORD *)v8; if ( v9 == *((_DWORD *)this + 143) ) { (*(void (__fastcall **)(int, __int16 *))(v10 + 480))(v8, &word_BF1248); } else { v11 = *(void (__fastcall **)(int, _DWORD *))(v10 + 480); memset(v12, 125, 3); v11(v8, v12); } (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 456))(v8, 255); } else { (*(void (__fastcall **)(int, char *))(*(_DWORD *)v8 + 480))(v8, &byte_BF1251); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 456))(v8, 100); } ++v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source