{"type": "func", "start": 4295740672, "end": 4295740728, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x1000bcd00 to 0x1000bcd38 (56 bytes)\n// \n// 0 xrefs:\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:20:32 +0000\n// \n\n__int64 __fastcall DrawGridLayer::addToEffects(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  result = sub_1007FF080(*(_QWORD *)(a1 + 544), a2);\n  if ( !(_BYTE)result )\n  {\n    result = sub_1007FEBF0(*(_QWORD *)(a1 + 544), a2);\n    *(_BYTE *)(a1 + 492) = 1;\n  }\n  return result;\n}", "assembly": "; \n; DrawGridLayer::addToEffects from 0x1000bcd00 to 0x1000bcd38 (56 bytes)\n; \n; 0 xrefs:\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:20:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000bcd00\nmov     rbp, rsp                                                       ; +0x1, 0x1000bcd01\npush    r14                                                            ; +0x4, 0x1000bcd04\npush    rbx                                                            ; +0x6, 0x1000bcd06\nmov     r14, rsi                                                       ; +0x7, 0x1000bcd07\nmov     rbx, rdi                                                       ; +0xa, 0x1000bcd0a\nmov     rdi, [rdi+220h]                                                ; +0xd, 0x1000bcd0d\ncall    sub_1007FF080                                                  ; +0x14, 0x1000bcd14\ntest    al, al                                                         ; +0x19, 0x1000bcd19\njnz     short loc_1000BCD33                                            ; +0x1b, 0x1000bcd1b\nmov     rdi, [rbx+220h]                                                ; +0x1d, 0x1000bcd1d\nmov     rsi, r14                                                       ; +0x24, 0x1000bcd24\ncall    sub_1007FEBF0                                                  ; +0x27, 0x1000bcd27\nmov     byte ptr [rbx+1ECh], 1                                         ; +0x2c, 0x1000bcd2c\npop     rbx                                                            ; +0x33, 0x1000bcd33\npop     r14                                                            ; +0x34, 0x1000bcd34\npop     rbp                                                            ; +0x36, 0x1000bcd36\nretn                                                                   ; +0x37, 0x1000bcd37", "xrefs": [], "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"}