// // sub_100507FE0 from 0x100507fe0 to 0x10050803f (95 bytes) // // 0 xrefs: // // 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:33 +0000 // __int64 __fastcall sub_100507FE0(__int64 a1) { __int64 result; // rax int v2; // eax bool v3; // cc unsigned int v4; // ecx result = 0; if ( a1 ) { v2 = *(_DWORD *)(a1 + 948); v3 = v2 <= *(_DWORD *)(a1 + 952); result = (unsigned int)(v2 - *(_DWORD *)(a1 + 952)); if ( v3 ) { result = 10; if ( *(_DWORD *)(a1 + 932) - *(_DWORD *)(a1 + 936) != 1 ) { result = 1; if ( !*(_BYTE *)(a1 + 960) ) { v4 = GJGameLevel::getAverageDifficulty(a1) - 1; result = 0; if ( v4 <= 4 ) return dword_100A0C874[v4]; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source