// // PlayLayer::toggleHideAttempts from 0x6f2e90 to 0x6f2f48 (184 bytes) // // 2 xrefs: // > @ 0xb5f90 // > @ 0x14289b8 // // 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:51:49 +0000 // __int64 __fastcall PlayLayer::toggleHideAttempts(__int64 this, unsigned __int8 a2) { __int64 v2; // x2 __int64 v3; // x19 unsigned __int64 GameVariable; // x0 GameManager *v5; // x0 GameManager *v6; // x0 v2 = this + 12288; if ( *(unsigned __int8 *)(this + 14023) != a2 ) { *(_BYTE *)(this + 14023) = a2; v3 = this; if ( a2 ) return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 14328) + 344LL))(*(_QWORD *)(v3 + 14328), 0); GameVariable = *(unsigned __int8 *)(this + 12544); if ( *(_BYTE *)(v2 + 256) ) { v5 = (GameManager *)GameManager::sharedState((GameManager *)GameVariable); GameVariable = (unsigned __int8)GameManager::getGameVariable(v5, "0134"); if ( (_BYTE)GameVariable ) return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 14328) + 344LL))( *(_QWORD *)(v3 + 14328), 0); } v6 = (GameManager *)GameManager::sharedState((GameManager *)GameVariable); if ( (unsigned __int8)GameManager::getGameVariable(v6, "0135") ) { return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 14328) + 344LL))(*(_QWORD *)(v3 + 14328), 0); } else { this = *(unsigned int *)(v3 + 12212); if ( (int)this > 0 ) return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v3 + 14328) + 344LL))( *(_QWORD *)(v3 + 14328), 1); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source