// // LevelInfoLayer::onRate from 0x10002e418 to 0x10002e500 (232 bytes) // // 1 xrefs: // > LevelInfoLayer::FLAlert_Clicked @ 0x10002e6d8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 10:57:29 +0000 // __int64 __fastcall LevelInfoLayer::onRate(__int64 result) { __int64 v1; // x19 __int64 v2; // x0 _QWORD *v3; // x0 __int64 v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] if ( (*(_BYTE *)(result + 488) & 1) == 0 ) { v1 = result; v2 = GameManager::sharedState(result); if ( (*(_BYTE *)(v2 + 932) & 1) != 0 ) { v3 = (_QWORD *)sub_1000671D0((unsigned int)(*(_DWORD *)(*(_QWORD *)(v1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(v1 + 504) + 332LL))); v3[86] = v1 + 424; return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3); } else { *(_BYTE *)(GameManager::sharedState(v2) + 932) = 1; sub_100009900( __p, "Please rate the difficulty as fairly as possible. \n" "(Demon and Auto levels are manually verified before accepted)"); v4 = FLAlertLayer::create_1(v1 + 440, "Rate Difficulty", __p, "OK", 0, 300.0); if ( v6 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 7); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source