// // cocos2d::extension::CCScrollView::getScriptHandler from 0x180013f20 to 0x180013f62 (66 bytes) // // 1 xrefs: // > @ 0x180032408 // // 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 12:15:41 +0000 // __int64 __fastcall cocos2d::extension::CCScrollView::getScriptHandler(cocos2d::extension::CCScrollView *this, int a2) { __int64 *v2; // r8 __int64 *v3; // rcx __int64 *i; // rax v2 = *((__int64 **)this + 69); v3 = v2; for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i ) { if ( *((_DWORD *)i + 7) >= a2 ) v3 = i; else i += 2; } if ( *((_BYTE *)v3 + 25) || a2 < *((_DWORD *)v3 + 7) || v2 == v3 ) return 0; else return *((unsigned int *)v3 + 8); }