// // RateStarsLayer::onRate from 0x100277a90 to 0x100277bad (285 bytes) // // 1 xrefs: // > RateStarsLayer::init @ 0x1002776dd // // This function is hookable on this platform (idp: pc, 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 12:27:39 +0000 // void __fastcall RateStarsLayer::onRate(__int64 a1, double a2) { __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax double (__fastcall ***v6)(_QWORD); // rdi __int64 v7; // rax void *v8[4]; // [rsp+0h] [rbp-20h] BYREF if ( *(_DWORD *)(a1 + 708) != -1 ) { if ( *(_BYTE *)(a1 + 681) == 1 ) { v3 = GameLevelManager::sharedState(a2); if ( (unsigned __int8)sub_100562960( v3, *(unsigned int *)(a1 + 704), *(unsigned int *)(a1 + 708), *(unsigned int *)(a1 + 744), 0, 0) ) { *(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = a1 + 672; v4 = *(_QWORD *)(a1 + 728); if ( v4 ) *(_QWORD *)(v4 + 664) = 0; strcpy((char *)v8, "\"Sending rating..."); v5 = UploadActionPopup::create(a1 + 664, v8); *(_QWORD *)(a1 + 728) = v5; if ( ((__int64)v8[0] & 1) != 0 ) { operator delete(v8[2]); v5 = *(_QWORD *)(a1 + 728); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); } } else { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); v6 = *(double (__fastcall ****)(_QWORD))(a1 + 752); if ( v6 ) a2 = (**v6)(v6); v7 = GameLevelManager::sharedState(a2); GameLevelManager::rateStars(v7, *(unsigned int *)(a1 + 704), *(unsigned int *)(a1 + 708)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source