// // GJRateLevelLayer::onRate from 0x1005053d0 to 0x1005054aa (218 bytes) // // 1 xrefs: // > GJRateLevelLayer::init @ 0x100504fd5 // // 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:31:31 +0000 // void __fastcall GJRateLevelLayer::onRate(__int64 a1, double a2) { __int64 v2; // rax __int64 v3; // rax char *v4; // rax __int128 v5[2]; // [rsp+0h] [rbp-20h] BYREF if ( *(_DWORD *)(a1 + 1080) != -1 ) { v2 = GameLevelManager::sharedState(a2); if ( (unsigned __int8)sub_100562960( v2, (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 1048) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 332LL)), *(unsigned int *)(a1 + 1080), *(unsigned int *)(*(_QWORD *)(a1 + 1104) + 596LL), *(unsigned __int8 *)(a1 + 1084), 0) ) { *(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = a1 + 1024; v3 = *(_QWORD *)(a1 + 1096); if ( v3 ) *(_QWORD *)(v3 + 664) = 0; strcpy((char *)v5, "\"Sending rating..."); v4 = UploadActionPopup::create(a1 + 1016, v5); *(_QWORD *)(a1 + 1096) = v4; if ( (v5[0] & 1) != 0 ) { operator delete(*(void **)&v5[1]); v4 = *(char **)(a1 + 1096); } (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source