// // cocos2d::extension::CCScrollView::getScriptHandler from 0x1003f9490 to 0x1003f94d6 (70 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall cocos2d::extension::CCScrollView::getScriptHandler(cocos2d::extension::CCScrollView *a1, int a2) { std::__tree_end_node *>::pointer left; // rdx int result; // eax std::__compressed_pair *>> *p_pair1; // rdi std::__compressed_pair *>> *v5; // rcx left = a1->m_mapScriptHandler.__tree_.__pair1_.__value_.__left_; result = 0; if ( left ) { p_pair1 = &a1->m_mapScriptHandler.__tree_.__pair1_; v5 = p_pair1; do { if ( *((_DWORD *)left + 7) >= a2 ) v5 = (std::__compressed_pair *>> *)left; left = *((std::__tree_end_node *>::pointer *)left + (*((_DWORD *)left + 7) < a2)); } while ( left ); if ( v5 != p_pair1 && SHIDWORD(v5[3].__value_.__left_) <= a2 ) return (int)v5[4].__value_.__left_; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source