{"type": "func", "start": 4300312976, "end": 4300313019, "name": "CCBlockLayer::draw", "pseudocode": "// \n// CCBlockLayer::draw from 0x100519190 to 0x1005191bb (43 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x100afdcd0\n// > <???> @ 0x100b388d8\n// > <???> @ 0x100b6cb00\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:31:40 +0000\n// \n\nint *__fastcall CCBlockLayer::draw(GLenum *a1, __m128 a2)\n{\n  int *result; // rax\n\n  result = (int *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)a1 + 1152LL))(a1);\n  if ( (_BYTE)result )\n    return cocos2d::CCLayerColor::draw(a1, a2);\n  return result;\n}", "assembly": "; \n; CCBlockLayer::draw from 0x100519190 to 0x1005191bb (43 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x100afdcd0\n; > <???> @ 0x100b388d8\n; > <???> @ 0x100b6cb00\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:31:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100519190\nmov     rbp, rsp                                                       ; +0x1, 0x100519191\npush    rbx                                                            ; +0x4, 0x100519194\npush    rax                                                            ; +0x5, 0x100519195\nmov     rbx, rdi                                                       ; +0x6, 0x100519196\nmov     rax, [rdi]                                                     ; +0x9, 0x100519199\ncall    qword ptr [rax+480h]                                           ; +0xc, 0x10051919c\ntest    al, al                                                         ; +0x12, 0x1005191a2\njz      short loc_1005191B4                                            ; +0x14, 0x1005191a4\nmov     rdi, rbx                                                       ; +0x16, 0x1005191a6\nadd     rsp, 8                                                         ; +0x19, 0x1005191a9\npop     rbx                                                            ; +0x1d, 0x1005191ad\npop     rbp                                                            ; +0x1e, 0x1005191ae\njmp     cocos2d__CCLayerColor__draw                                    ; +0x1f, 0x1005191af\nadd     rsp, 8                                                         ; +0x24, 0x1005191b4\npop     rbx                                                            ; +0x28, 0x1005191b8\npop     rbp                                                            ; +0x29, 0x1005191b9\nretn                                                                   ; +0x2a, 0x1005191ba", "xrefs": ["<???> @ 0x100afdcd0", "<???> @ 0x100b388d8", "<???> @ 0x100b6cb00"], "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"}