{"type": "func", "start": 4298761504, "end": 4298761652, "name": "CCScrollLayerExt::preVisitWithClippingRect", "pseudocode": "// \n// CCScrollLayerExt::preVisitWithClippingRect from 0x10039e520 to 0x10039e5b4 (148 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1009435b0\n// > <???> @ 0x100943c30\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:45 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::preVisitWithClippingRect(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x21\n  __int64 v6; // x0\n  float *v7; // x0\n  __int64 v8; // [xsp+8h] [xbp-28h] BYREF\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1);\n  if ( (_DWORD)result )\n  {\n    glEnable(0xC11u);\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);\n    v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);\n    cocos2d::CCNode::convertToWorldSpace(v5, v6, &v8);\n    v7 = cocos2d::CCEGLView::sharedOpenGLView();\n    return (*(__int64 (__fastcall **)(float *, float, float, float, float))(*(_QWORD *)v7 + 112LL))(\n             v7,\n             *(float *)&v8,\n             *((float *)&v8 + 1),\n             *(float *)(a2 + 8),\n             *(float *)(a2 + 12));\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::preVisitWithClippingRect from 0x10039e520 to 0x10039e5b4 (148 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1009435b0\n; > <???> @ 0x100943c30\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:45 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10039e520\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10039e524\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10039e528\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10039e52c\nADD             X29, SP, #0x30                                         ; +0x10, 0x10039e530\nMOV             X19, X1                                                ; +0x14, 0x10039e534\nMOV             X20, X0                                                ; +0x18, 0x10039e538\nLDR             X8, [X0]                                               ; +0x1c, 0x10039e53c\nLDR             X8, [X8,#0x160]                                        ; +0x20, 0x10039e540\nBLR             X8                                                     ; +0x24, 0x10039e544\nCBZ             W0, loc_10039E5A0                                      ; +0x28, 0x10039e548\nMOV             W0, #0xC11; cap                                        ; +0x2c, 0x10039e54c\nBL              _glEnable                                              ; +0x30, 0x10039e550\nLDR             X8, [X20]                                              ; +0x34, 0x10039e554\nLDR             X8, [X8,#0x200]                                        ; +0x38, 0x10039e558\nMOV             X0, X20                                                ; +0x3c, 0x10039e55c\nBLR             X8                                                     ; +0x40, 0x10039e560\nMOV             X21, X0                                                ; +0x44, 0x10039e564\nLDR             X8, [X20]                                              ; +0x48, 0x10039e568\nLDR             X8, [X8,#0xC0]                                         ; +0x4c, 0x10039e56c\nMOV             X0, X20                                                ; +0x50, 0x10039e570\nBLR             X8                                                     ; +0x54, 0x10039e574\nMOV             X1, X0                                                 ; +0x58, 0x10039e578\nADD             X8, SP, #0x30+var_28                                   ; +0x5c, 0x10039e57c\nMOV             X0, X21                                                ; +0x60, 0x10039e580\nBL              cocos2d__CCNode__convertToWorldSpace                   ; +0x64, 0x10039e584\nBL              cocos2d__CCEGLView__sharedOpenGLView                   ; +0x68, 0x10039e588\nLDP             S0, S1, [SP,#0x30+var_28]                              ; +0x6c, 0x10039e58c\nLDP             S2, S3, [X19,#8]                                       ; +0x70, 0x10039e590\nLDR             X8, [X0]                                               ; +0x74, 0x10039e594\nLDR             X8, [X8,#0x70]                                         ; +0x78, 0x10039e598\nBLR             X8                                                     ; +0x7c, 0x10039e59c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x10039e5a0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x10039e5a4\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x88, 0x10039e5a8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x10039e5ac\nRET                                                                    ; +0x90, 0x10039e5b0", "xrefs": ["<???> @ 0x1009435b0", "<???> @ 0x100943c30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}