// // GJBaseGameLayer::processQueuedButtons from 0x5a4dac to 0x5a4e5a (174 bytes) // // 2 xrefs: // > PlayLayer::pauseGame @ 0x40262c // > GJBaseGameLayer::processCommands @ 0x5a4fd0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:19 +0000 // int __fastcall GJBaseGameLayer::processQueuedButtons(int this, float a2, int a3) { int *v3; // r5 double *v4; // r8 int v7; // r2 int v8; // lr int *v9; // r11 int v10; // r10 int *v11; // r4 int *v12; // r12 int v13; // r0 int v14; // r1 int v15; // r2 int v16; // r3 int *v17; // r9 int v18; // r1 _DWORD *i; // r1 v3 = (int *)(this + 11000); v4 = (double *)this; while ( 1 ) { v7 = *v3; if ( !(-1431655765 * ((v3[1] - *v3) >> 3)) || !a3 && *(double *)(v7 + 16) >= a2 + v4[1457] ) break; GJBaseGameLayer::handleButton( (GJBaseGameLayer *)v4, *(unsigned __int8 *)(v7 + 4), *(_DWORD *)v7, *(unsigned __int8 *)(v7 + 5) ^ 1); v8 = *v3; v9 = (int *)v3[1]; v10 = *v3 + 24; v11 = (int *)v10; while ( v11 != v9 ) { v12 = v11 - 6; v13 = *v11; v14 = v11[1]; v15 = v11[2]; v16 = v11[3]; v17 = v11 + 4; v11 += 6; *v12 = v13; v12[1] = v14; v12[2] = v15; v12[3] = v16; v12 += 4; this = *v17; v18 = v17[1]; *v12 = *v17; v12[1] = v18; } for ( i = (_DWORD *)v4 + 2751; v8 + 24 * ((178956971 * (((unsigned int)v11 - v10) >> 3)) & 0x1FFFFFFF) != *i; *i -= 24 ) ; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source