// // cocos2d::CCKeyboardDispatcher::releaseAllKeys from 0xdb2f8c to 0xdb30f0 (356 bytes) // // 1 xrefs: // > @ 0xb6680 // // 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 13:08:40 +0000 // __int64 __fastcall cocos2d::CCKeyboardDispatcher::releaseAllKeys(cocos2d::CCKeyboardDispatcher *this, double a2) { void *v3; // x0 unsigned __int64 v6; // x1 int v7; // w4 _QWORD *v8; // x3 void *v9; // x5 unsigned __int64 v10; // x3 unsigned __int64 v11; // x1 unsigned __int64 v12; // x1 unsigned __int64 v13; // x2 unsigned __int64 v14; // x0 _DWORD *v15; // x19 void *v16; // [xsp+30h] [xbp+30h] void *v17[2]; // [xsp+40h] [xbp+40h] BYREF int v18; // [xsp+50h] [xbp+50h] v3 = *((void **)this + 14); if ( v3 ) { v6 = *((_QWORD *)this + 12); v7 = *((_DWORD *)this + 30); v8 = *((_QWORD **)this + 13); v9 = *((void **)this + 11); *((_QWORD *)this + 11) = 0; *((_QWORD *)this + 12) = 0; v17[0] = v8; *((_QWORD *)this + 13) = 0; v17[1] = v3; *((_QWORD *)this + 14) = 0; v16 = v9; v18 = v7; *((float *)this + 30) = 1.0; v10 = v8[1]; if ( ((v6 - 1) & v6) != 0 ) v11 = v10 % v6; else v11 = (v6 - 1) & v10; *((_QWORD *)v9 + v11) = v17; if ( *((_QWORD *)this + 14) ) { v12 = *((_QWORD *)this + 12); v13 = *(_QWORD *)(*((_QWORD *)this + 13) + 8LL); if ( ((v12 - 1) & v12) != 0 ) v14 = v13 % v12; else v14 = (v12 - 1) & v13; *(_QWORD *)(*((_QWORD *)this + 11) + 8 * v14) = (char *)this + 104; } v15 = v17[0]; *((_BYTE *)this + 133) = 0; for ( *((_BYTE *)this + 64) = 1; v15; v15 = *(_DWORD **)v15 ) cocos2d::CCKeyboardDispatcher::dispatchToTopDelegate((__int64)this, v15[4], 0, (__int64)(v15 + 6), a2); *((_BYTE *)this + 64) = 0; cocos2d::CCKeyboardDispatcher::flushPendingDelegates(this); sub_DB2AA8((_QWORD *)v17[0]); if ( v16 ) operator delete(v16); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source