{"type": "func", "start": 4298498668, "end": 4298498732, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x10035e26c to 0x10035e2ac (64 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x100359e54\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 DrawGridLayer::addToEffects(DrawGridLayer *a1, EffectGameObject *a2)\n{\n  if ( (sub_10024A420((__int64)a1->m_effectGameObjects, (__int64)a2) & 1) == 0 )\n  {\n    sub_10024A2D0((__int64)a1->m_effectGameObjects);\n    a1->m_sortEffects = 1;\n  }\n}", "assembly": "; \n; DrawGridLayer::addToEffects from 0x10035e26c to 0x10035e2ac (64 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x100359e54\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, 0x10035e26c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10035e270\nADD             X29, SP, #0x10                                         ; +0x8, 0x10035e274\nMOV             X20, X1                                                ; +0xc, 0x10035e278\nMOV             X19, X0                                                ; +0x10, 0x10035e27c\nLDR             X0, [X0,#0x220]                                        ; +0x14, 0x10035e280\nBL              sub_10024A420                                          ; +0x18, 0x10035e284\nTBNZ            W0, #0, loc_10035E2A0                                  ; +0x1c, 0x10035e288\nLDR             X0, [X19,#0x220]                                       ; +0x20, 0x10035e28c\nMOV             X1, X20                                                ; +0x24, 0x10035e290\nBL              sub_10024A2D0                                          ; +0x28, 0x10035e294\nMOV             W8, #1                                                 ; +0x2c, 0x10035e298\nSTRB            W8, [X19,#0x1EC]                                       ; +0x30, 0x10035e29c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x10035e2a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x10035e2a4\nRET                                                                    ; +0x3c, 0x10035e2a8", "xrefs": ["LevelEditorLayer::addSpecial @ 0x100359e54"], "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"}