{"type": "func", "start": 4299175216, "end": 4299175280, "name": "LevelEditorLayer::resetSPTriggered", "pseudocode": "// \n// LevelEditorLayer::resetSPTriggered from 0x100403530 to 0x100403570 (64 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10094c550\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:04:40 +0000\n// \n\n__int64 __fastcall LevelEditorLayer::resetSPTriggered(__int64 result)\n{\n  __int64 v1; // x8\n  unsigned int *v2; // x8\n  __int64 v3; // x9\n  unsigned __int64 v4; // x8\n  unsigned __int64 v5; // x9\n\n  v1 = *(_QWORD *)(*(_QWORD *)(result + 14288) + 560LL);\n  if ( v1 )\n  {\n    v2 = *(unsigned int **)(v1 + 56);\n    v3 = *v2;\n    if ( (_DWORD)v3 )\n    {\n      v4 = *((_QWORD *)v2 + 2);\n      v5 = v4 + 8 * v3 - 8;\n      do\n      {\n        if ( !*(_QWORD *)v4 )\n          break;\n        *(_BYTE *)(*(_QWORD *)v4 + 1834LL) = 0;\n        v4 += 8LL;\n      }\n      while ( v4 <= v5 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; LevelEditorLayer::resetSPTriggered from 0x100403530 to 0x100403570 (64 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10094c550\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:04:40 +0000\n; \nLDR             X8, [X0,#0x37D0]                                       ; +0x0, 0x100403530\nLDR             X8, [X8,#0x230]                                        ; +0x4, 0x100403534\nCBZ             X8, locret_10040356C                                   ; +0x8, 0x100403538\nLDR             X8, [X8,#0x38]                                         ; +0xc, 0x10040353c\nLDR             W9, [X8]                                               ; +0x10, 0x100403540\nCBZ             W9, locret_10040356C                                   ; +0x14, 0x100403544\nLDR             X8, [X8,#0x10]                                         ; +0x18, 0x100403548\nADD             X9, X8, X9,LSL#3                                       ; +0x1c, 0x10040354c\nSUB             X9, X9, #8                                             ; +0x20, 0x100403550\nLDR             X10, [X8]                                              ; +0x24, 0x100403554\nCBZ             X10, locret_10040356C                                  ; +0x28, 0x100403558\nSTRB            WZR, [X10,#0x72A]                                      ; +0x2c, 0x10040355c\nADD             X8, X8, #8                                             ; +0x30, 0x100403560\nCMP             X8, X9                                                 ; +0x34, 0x100403564\nB.LS            loc_100403554                                          ; +0x38, 0x100403568\nRET                                                                    ; +0x3c, 0x10040356c", "xrefs": ["<???> @ 0x10094c550"], "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"}