{"type": "func", "start": 6442532640, "end": 6442532706, "name": "cocos2d::extension::CCScrollView::getScriptHandler", "pseudocode": "// \n// cocos2d::extension::CCScrollView::getScriptHandler from 0x180013f20 to 0x180013f62 (66 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x180032408\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:41 +0000\n// \n\n__int64 __fastcall cocos2d::extension::CCScrollView::getScriptHandler(cocos2d::extension::CCScrollView *this, int a2)\n{\n  __int64 *v2; // r8\n  __int64 *v3; // rcx\n  __int64 *i; // rax\n\n  v2 = *((__int64 **)this + 69);\n  v3 = v2;\n  for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i )\n  {\n    if ( *((_DWORD *)i + 7) >= a2 )\n      v3 = i;\n    else\n      i += 2;\n  }\n  if ( *((_BYTE *)v3 + 25) || a2 < *((_DWORD *)v3 + 7) || v2 == v3 )\n    return 0;\n  else\n    return *((unsigned int *)v3 + 8);\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::getScriptHandler from 0x180013f20 to 0x180013f62 (66 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x180032408\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:41 +0000\n; \nmov     r8, [rcx+228h]                                                 ; +0x0, 0x180013f20\nmov     rcx, r8                                                        ; +0x7, 0x180013f27\nmov     rax, [r8+8]                                                    ; +0xa, 0x180013f2a\ncmp     byte ptr [rax+19h], 0                                          ; +0xe, 0x180013f2e\njnz     short loc_180013F4B                                            ; +0x12, 0x180013f32\ncmp     [rax+1Ch], edx                                                 ; +0x14, 0x180013f34\njge     short loc_180013F3F                                            ; +0x17, 0x180013f37\nadd     rax, 10h                                                       ; +0x19, 0x180013f39\njmp     short loc_180013F42                                            ; +0x1d, 0x180013f3d\nmov     rcx, rax                                                       ; +0x1f, 0x180013f3f\nmov     rax, [rax]                                                     ; +0x22, 0x180013f42\ncmp     byte ptr [rax+19h], 0                                          ; +0x25, 0x180013f45\njz      short loc_180013F34                                            ; +0x29, 0x180013f49\ncmp     byte ptr [rcx+19h], 0                                          ; +0x2b, 0x180013f4b\njnz     short loc_180013F5F                                            ; +0x2f, 0x180013f4f\ncmp     edx, [rcx+1Ch]                                                 ; +0x31, 0x180013f51\njl      short loc_180013F5F                                            ; +0x34, 0x180013f54\ncmp     r8, rcx                                                        ; +0x36, 0x180013f56\njz      short loc_180013F5F                                            ; +0x39, 0x180013f59\nmov     eax, [rcx+20h]                                                 ; +0x3b, 0x180013f5b\nretn                                                                   ; +0x3e, 0x180013f5e\nxor     eax, eax                                                       ; +0x3f, 0x180013f5f\nretn                                                                   ; +0x41, 0x180013f61", "xrefs": ["<???> @ 0x180032408"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}