// // GJBaseGameLayer::processQueuedButtons from 0x100128da0 to 0x100128eb1 (273 bytes) // // 2 xrefs: // > PlayLayer::pauseGame @ 0x10008da2c // > GJBaseGameLayer::processCommands @ 0x1001313ea // // 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:24:43 +0000 // double __fastcall GJBaseGameLayer::processQueuedButtons(__int64 a1, char a2, double result) { unsigned int *v3; // rax unsigned int *v4; // r14 unsigned int *v5; // r14 size_t v6; // r15 unsigned int *v7; // r14 unsigned int *v8; // r14 size_t v9; // r15 double v10; // [rsp-28h] [rbp-28h] v3 = *(unsigned int **)(a1 + 12824); if ( *(unsigned int **)(a1 + 12832) != v3 ) { if ( a2 ) { do { GJBaseGameLayer::handleButton(a1, *((unsigned __int8 *)v3 + 4), *v3, *((unsigned __int8 *)v3 + 5) ^ 1u); v5 = *(unsigned int **)(a1 + 12824); v3 = v5; v6 = *(_QWORD *)(a1 + 12832) - (_QWORD)(v5 + 6); if ( v6 ) { memmove(*(void **)(a1 + 12824), v5 + 6, v6); v3 = *(unsigned int **)(a1 + 12824); } v4 = (unsigned int *)((char *)v5 + v6); *(_QWORD *)(a1 + 12832) = v4; } while ( v4 != v3 ); } else { v10 = *(float *)&result; do { result = *(double *)(a1 + 13936) + v10; if ( result <= *((double *)v3 + 2) ) break; GJBaseGameLayer::handleButton(a1, *((unsigned __int8 *)v3 + 4), *v3, *((unsigned __int8 *)v3 + 5) ^ 1u); v8 = *(unsigned int **)(a1 + 12824); v3 = v8; v9 = *(_QWORD *)(a1 + 12832) - (_QWORD)(v8 + 6); if ( v9 ) { memmove(*(void **)(a1 + 12824), v8 + 6, v9); v3 = *(unsigned int **)(a1 + 12824); } v7 = (unsigned int *)((char *)v8 + v9); *(_QWORD *)(a1 + 12832) = v7; } while ( v7 != v3 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source