{"type": "func", "start": 7969608, "end": 7969820, "name": "DrawGridLayer::updateTimeMarkers", "pseudocode": "// \n// DrawGridLayer::updateTimeMarkers from 0x799b48 to 0x799c1c (212 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateGameObjects @ 0x79e358\n// > EditorUI::onPlayback @ 0x7c2828\n// > <???> @ 0xe9fe0\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 12:53:36 +0000\n// \n\n__int64 __fastcall DrawGridLayer::updateTimeMarkers(DrawGridLayer *this)\n{\n  char v2; // w0\n  __int64 v3; // x0\n  __int64 v4; // x1\n  __int64 v6; // [xsp+30h] [xbp+30h] BYREF\n  __int64 v7; // [xsp+38h] [xbp+38h]\n  void *v8; // [xsp+40h] [xbp+40h]\n\n  *((_BYTE *)this + 600) = 1;\n  *((_BYTE *)this + 601) = 0;\n  DrawGridLayer::sortSpeedObjects((LevelTools **)this, _stack_chk_guard, (GJBaseGameLayer *)((char *)&dword_0 + 1));\n  v6 = 0;\n  v2 = *((_BYTE *)this + 504);\n  v7 = 0;\n  v8 = nullptr;\n  if ( (v2 & 1) != 0 )\n  {\n    std::string::__init(&v6, *((void **)this + 65), *((_QWORD *)this + 64));\n  }\n  else\n  {\n    v3 = *((_QWORD *)this + 63);\n    v4 = *((_QWORD *)this + 64);\n    v8 = *((void **)this + 65);\n    v6 = v3;\n    v7 = v4;\n  }\n  DrawGridLayer::loadTimeMarkers((__int64)this, (__int64)&v6);\n  if ( (v6 & 1) != 0 )\n    operator delete(v8);\n  return _stack_chk_guard;\n}", "assembly": "; \n; DrawGridLayer::updateTimeMarkers from 0x799b48 to 0x799c1c (212 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateGameObjects @ 0x79e358\n; > EditorUI::onPlayback @ 0x7c2828\n; > <???> @ 0xe9fe0\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 12:53:36 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x799b48\nMOV             W2, #1                                                 ; +0x4, 0x799b4c\nMOV             X29, SP                                                ; +0x8, 0x799b50\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x799b54\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x799b58\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x14, 0x799b5c\nMOV             X19, X0                                                ; +0x18, 0x799b60\nADD             X21, X29, #0x50+var_20                                 ; +0x1c, 0x799b64\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x799b68\nSTRB            W2, [X0,#0x258]                                        ; +0x24, 0x799b6c\nSTRB            WZR, [X0,#0x259]                                       ; +0x28, 0x799b70\nLDR             X1, [X1]                                               ; +0x2c, 0x799b74\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x30, 0x799b78\nBL              _ZN13DrawGridLayer16sortSpeedObjectsEv; DrawGridLayer::sortSpeedObjects(void) ; +0x34, 0x799b7c\nSTR             XZR, [X29,#0x50+var_20]                                ; +0x38, 0x799b80\nLDRB            W0, [X19,#0x1F8]                                       ; +0x3c, 0x799b84\nADD             X2, X19, #0x1F8                                        ; +0x40, 0x799b88\nSTR             XZR, [X29,#0x50+var_18]                                ; +0x44, 0x799b8c\nSTR             XZR, [X29,#0x50+var_10]                                ; +0x48, 0x799b90\nTBNZ            W0, #0, loc_799BE8                                     ; +0x4c, 0x799b94\nLDP             X0, X1, [X2]                                           ; +0x50, 0x799b98\nLDR             X2, [X2,#0x10]                                         ; +0x54, 0x799b9c\nSTR             X2, [X29,#0x50+var_10]                                 ; +0x58, 0x799ba0\nSTP             X0, X1, [X29,#0x50+var_20]                             ; +0x5c, 0x799ba4\nMOV             X0, X19; int                                           ; +0x60, 0x799ba8\nMOV             X1, X21; int                                           ; +0x64, 0x799bac\nBL              _ZN13DrawGridLayer15loadTimeMarkersENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; DrawGridLayer::loadTimeMarkers(std::string) ; +0x68, 0x799bb0\nLDRB            W0, [X29,#0x50+var_20]                                 ; +0x6c, 0x799bb4\nTBZ             W0, #0, loc_799BC4                                     ; +0x70, 0x799bb8\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x74, 0x799bbc\nBL              _ZdlPv; operator delete(void *)                        ; +0x78, 0x799bc0\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x7c, 0x799bc4\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x80, 0x799bc8\nLDR             X0, [X20]                                              ; +0x84, 0x799bcc\nCMP             X1, X0                                                 ; +0x88, 0x799bd0\nB.NE            loc_799BFC                                             ; +0x8c, 0x799bd4\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x90, 0x799bd8\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x94, 0x799bdc\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x98, 0x799be0\nRET                                                                    ; +0x9c, 0x799be4\nLDR             X1, [X2,#0x10]                                         ; +0xa0, 0x799be8\nMOV             X0, X21                                                ; +0xa4, 0x799bec\nLDR             X2, [X2,#8]                                            ; +0xa8, 0x799bf0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xac, 0x799bf4\nB               loc_799BA8                                             ; +0xb0, 0x799bf8\nBL              .__stack_chk_fail                                      ; +0xb4, 0x799bfc\nLDRB            W1, [X29,#0x50+var_20]                                 ; +0xb8, 0x799c00\nMOV             X19, X0                                                ; +0xbc, 0x799c04\nTBZ             W1, #0, loc_799C14                                     ; +0xc0, 0x799c08\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0xc4, 0x799c0c\nBL              _ZdlPv; operator delete(void *)                        ; +0xc8, 0x799c10\nMOV             X0, X19                                                ; +0xcc, 0x799c14\nBL              _Unwind_Resume                                         ; +0xd0, 0x799c18", "xrefs": ["LevelEditorLayer::updateGameObjects @ 0x79e358", "EditorUI::onPlayback @ 0x7c2828", "<???> @ 0xe9fe0"], "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"}