{"type": "func", "start": 4295246396, "end": 4295246452, "name": "GameToolbox::preVisitWithClipRect", "pseudocode": "// \n// GameToolbox::preVisitWithClipRect from 0x10004423c to 0x100044274 (56 bytes)\n// \n// 1 xrefs:\n// > GJSmartBlockPreviewSprite::visit @ 0x100009728\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameToolbox::preVisitWithClipRect(cocos2d::CCRect a1)\n{\n  float *v1; // x0\n  float *v2; // x19\n  cocos2d::CCEGLView *v3; // x0\n\n  v2 = v1;\n  glEnable(0xC11u);\n  v3 = cocos2d::CCEGLView::sharedOpenGLView();\n  ((void (__fastcall *)(cocos2d::CCEGLView *, float, float, float, float))v3->setScissorInPoints)(\n    v3,\n    *v2,\n    v2[1],\n    v2[2],\n    v2[3]);\n}", "assembly": "; \n; GameToolbox::preVisitWithClipRect from 0x10004423c to 0x100044274 (56 bytes)\n; \n; 1 xrefs:\n; > GJSmartBlockPreviewSprite::visit @ 0x100009728\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10004423c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100044240\nADD             X29, SP, #0x10                                         ; +0x8, 0x100044244\nMOV             X19, X0                                                ; +0xc, 0x100044248\nMOV             W0, #0xC11; cap                                        ; +0x10, 0x10004424c\nBL              _glEnable                                              ; +0x14, 0x100044250\nBL              cocos2d__CCEGLView__sharedOpenGLView                   ; +0x18, 0x100044254\nLDP             S0, S1, [X19]                                          ; +0x1c, 0x100044258\nLDP             S2, S3, [X19,#8]                                       ; +0x20, 0x10004425c\nLDR             X8, [X0]                                               ; +0x24, 0x100044260\nLDR             X1, [X8,#0x70]                                         ; +0x28, 0x100044264\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x100044268\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x10004426c\nBR              X1                                                     ; +0x34, 0x100044270", "xrefs": ["GJSmartBlockPreviewSprite::visit @ 0x100009728"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}