// // cocos2d::CCEGLView::scanCodeForPositionalKey from 0x18007b640 to 0x18007b672 (50 bytes) // // 1 xrefs: // > @ 0x18014cf68 // // 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 11:22:00 +0000 // __int64 __fastcall cocos2d::CCEGLView::scanCodeForPositionalKey(int a1) { unsigned int v1; // r8d __int64 v2; // rax if ( a1 <= 0 ) return 0; v1 = 1; v2 = 1; while ( byte_180106F20[v2] != a1 ) { ++v1; if ( ++v2 >= 128 ) return 0; } return v1; }