{"type": "func", "start": 5375348368, "end": 5375348505, "name": "LabelGameObject::updateLabel", "pseudocode": "// \n// LabelGameObject::updateLabel from 0x140654e90 to 0x140654f19 (137 bytes)\n// \n// 14 xrefs:\n// > GJBaseGameLayer::refreshCounterLabels @ 0x14033e3ac\n// > GJBaseGameLayer::update @ 0x14034197b\n// > GJBaseGameLayer::update @ 0x1403419eb\n// > GJBaseGameLayer::updateSpecialLabels @ 0x1403420ff\n// > GJBaseGameLayer::updateSpecialLabels @ 0x14034225b\n// > GJBaseGameLayer::updatePlatformerTime @ 0x140342444\n// > LevelEditorLayer::onPlaytest @ 0x1403fee22\n// > LevelEditorLayer::onPlaytest @ 0x1403feeab\n// > LabelGameObject::updatePreviewLabel @ 0x140654d40\n// > LabelGameObject::updatePreviewLabel @ 0x140654d7b\n// > LabelGameObject::updatePreviewLabel @ 0x140654db6\n// > LabelGameObject::updatePreviewLabel @ 0x140654e5f\n// > <???> @ 0x140931688\n// > <???> @ 0x140931694\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 11:35:44 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LabelGameObject::updateLabel(__int64 a1, _QWORD *a2)\n{\n  __int64 v2; // rbx\n  __int64 v4; // rcx\n\n  v2 = (__int64)a2;\n  if ( !*(_BYTE *)(a1 + 1928) )\n  {\n    v4 = *(_QWORD *)(a1 + 1856);\n    if ( v4 )\n    {\n      *(_DWORD *)(v4 + 528) = *(_DWORD *)(a1 + 1924);\n      if ( a2[3] > 0xFu )\n        a2 = (_QWORD *)*a2;\n      (**(void (__fastcall ***)(__int64, _QWORD *))(*(_QWORD *)(a1 + 1856) + 360LL))(*(_QWORD *)(a1 + 1856) + 360LL, a2);\n    }\n    *(_BYTE *)(a1 + 1864) = 0;\n  }\n  sub_14003D310(v2);\n}", "assembly": "; \n; LabelGameObject::updateLabel from 0x140654e90 to 0x140654f19 (137 bytes)\n; \n; 14 xrefs:\n; > GJBaseGameLayer::refreshCounterLabels @ 0x14033e3ac\n; > GJBaseGameLayer::update @ 0x14034197b\n; > GJBaseGameLayer::update @ 0x1403419eb\n; > GJBaseGameLayer::updateSpecialLabels @ 0x1403420ff\n; > GJBaseGameLayer::updateSpecialLabels @ 0x14034225b\n; > GJBaseGameLayer::updatePlatformerTime @ 0x140342444\n; > LevelEditorLayer::onPlaytest @ 0x1403fee22\n; > LevelEditorLayer::onPlaytest @ 0x1403feeab\n; > LabelGameObject::updatePreviewLabel @ 0x140654d40\n; > LabelGameObject::updatePreviewLabel @ 0x140654d7b\n; > LabelGameObject::updatePreviewLabel @ 0x140654db6\n; > LabelGameObject::updatePreviewLabel @ 0x140654e5f\n; > <???> @ 0x140931688\n; > <???> @ 0x140931694\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 11:35:44 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140654e90\npush    rdi                                                            ; +0x5, 0x140654e95\nsub     rsp, 30h                                                       ; +0x6, 0x140654e96\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x140654e9a\nxor     rax, rsp                                                       ; +0x11, 0x140654ea1\nmov     [rsp+38h+var_10], rax                                          ; +0x14, 0x140654ea4\nmov     rbx, rdx                                                       ; +0x19, 0x140654ea9\nmov     rdi, rcx                                                       ; +0x1c, 0x140654eac\nmov     [rsp+38h+var_18], rdx                                          ; +0x1f, 0x140654eaf\ncmp     byte ptr [rcx+788h], 0                                         ; +0x24, 0x140654eb4\njnz     short loc_140654EF9                                            ; +0x2b, 0x140654ebb\nmov     rcx, [rcx+740h]                                                ; +0x2d, 0x140654ebd\ntest    rcx, rcx                                                       ; +0x34, 0x140654ec4\njz      short loc_140654EF2                                            ; +0x37, 0x140654ec7\nmov     eax, [rdi+784h]                                                ; +0x39, 0x140654ec9\nmov     [rcx+210h], eax                                                ; +0x3f, 0x140654ecf\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x45, 0x140654ed5\njbe     short loc_140654EDF                                            ; +0x4a, 0x140654eda\nmov     rdx, [rdx]                                                     ; +0x4c, 0x140654edc\nmov     rcx, [rdi+740h]                                                ; +0x4f, 0x140654edf\nadd     rcx, 168h                                                      ; +0x56, 0x140654ee6\nmov     rax, [rcx]                                                     ; +0x5d, 0x140654eed\ncall    qword ptr [rax]                                                ; +0x60, 0x140654ef0\nmov     byte ptr [rdi+748h], 0                                         ; +0x62, 0x140654ef2\nmov     rcx, rbx                                                       ; +0x69, 0x140654ef9\ncall    sub_14003D310                                                  ; +0x6c, 0x140654efc\nmov     rcx, [rsp+38h+var_10]                                          ; +0x71, 0x140654f01\nxor     rcx, rsp; StackCookie                                          ; +0x76, 0x140654f06\ncall    __security_check_cookie                                        ; +0x79, 0x140654f09\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x7e, 0x140654f0e\nadd     rsp, 30h                                                       ; +0x83, 0x140654f13\npop     rdi                                                            ; +0x87, 0x140654f17\nretn                                                                   ; +0x88, 0x140654f18", "xrefs": ["GJBaseGameLayer::refreshCounterLabels @ 0x14033e3ac", "GJBaseGameLayer::update @ 0x14034197b", "GJBaseGameLayer::update @ 0x1403419eb", "GJBaseGameLayer::updateSpecialLabels @ 0x1403420ff", "GJBaseGameLayer::updateSpecialLabels @ 0x14034225b", "GJBaseGameLayer::updatePlatformerTime @ 0x140342444", "LevelEditorLayer::onPlaytest @ 0x1403fee22", "LevelEditorLayer::onPlaytest @ 0x1403feeab", "LabelGameObject::updatePreviewLabel @ 0x140654d40", "LabelGameObject::updatePreviewLabel @ 0x140654d7b", "LabelGameObject::updatePreviewLabel @ 0x140654db6", "LabelGameObject::updatePreviewLabel @ 0x140654e5f", "<???> @ 0x140931688", "<???> @ 0x140931694"], "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"}