// // GJBaseGameLayer::processQueuedButtons from 0x9c28d8 to 0x9c2a40 (360 bytes) // // 3 xrefs: // > PlayLayer::pauseGame @ 0x6f7290 // > GJBaseGameLayer::processCommands @ 0x9c2c14 // > @ 0x9e398 // // This function is hookable on this platform (idp: arm, 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:58:30 +0000 // unsigned __int64 __fastcall GJBaseGameLayer::processQueuedButtons(GJBaseGameLayer *this, float a2, unsigned __int8 a3) { int v3; // w20 char *v5; // x4 char *v7; // x1 char *v8; // x21 unsigned __int64 result; // x0 char *v10; // x3 char *v11; // x1 char *v12; // x0 char *v13; // x2 __int64 v14; // x4 __int64 v15; // x5 unsigned __int64 v16; // x0 char *v17; // x1 v3 = a3; v5 = *((char **)this + 1603); v7 = *((char **)this + 1604); v8 = (char *)this + 12288; LABEL_2: result = 0xAAAAAAAAAAAAAAABLL * ((v7 - v5) >> 3); if ( result ) { while ( v3 || *((double *)v5 + 2) < a2 + *((double *)this + 1742) ) { GJBaseGameLayer::handleButton(this, v5[4], *(_DWORD *)v5, v5[5] ^ 1); v10 = *((char **)this + 1603); v11 = *((char **)v8 + 68); v12 = v10 + 24; v5 = v10; if ( v10 + 24 != v11 ) { do { v13 = v12 - 24; v14 = *(_QWORD *)v12; v15 = *((_QWORD *)v12 + 1); v12 += 24; *(_QWORD *)v13 = v14; *((_QWORD *)v13 + 1) = v15; *((_QWORD *)v12 - 4) = *((_QWORD *)v12 - 1); } while ( v11 != v12 ); v16 = (unsigned __int64)(v11 - (v10 + 48)) >> 3; v11 = *((char **)this + 1604); v5 = *((char **)this + 1603); v10 += 24 * ((0xAAAAAAAAAAAAAABLL * v16) & 0x1FFFFFFFFFFFFFFFLL) + 24; } if ( v10 == v11 ) { v7 = v10; goto LABEL_2; } v17 = &v11[-24 * ((0xAAAAAAAAAAAAAABLL * ((unsigned __int64)(v11 - 24 - v10) >> 3)) & 0x1FFFFFFFFFFFFFFFLL) - 24]; *((_QWORD *)this + 1604) = v17; result = 0xAAAAAAAAAAAAAAABLL * ((v17 - v5) >> 3); if ( !result ) return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source