{"type": "func", "start": 5373639248, "end": 5373639385, "name": "LabelGameObject::updateLabel", "pseudocode": "// \n// LabelGameObject::updateLabel from 0x1404b3a50 to 0x1404b3ad9 (137 bytes)\n// \n// 14 xrefs:\n// > GJBaseGameLayer::refreshCounterLabels @ 0x1402356cc\n// > GJBaseGameLayer::update @ 0x140238d1c\n// > GJBaseGameLayer::update @ 0x140238d8c\n// > GJBaseGameLayer::updateSpecialLabels @ 0x1402394ff\n// > GJBaseGameLayer::updateSpecialLabels @ 0x14023965b\n// > GJBaseGameLayer::updatePlatformerTime @ 0x140239844\n// > LevelEditorLayer::onPlaytest @ 0x1402e0262\n// > LevelEditorLayer::onPlaytest @ 0x1402e02eb\n// > LabelGameObject::updatePreviewLabel @ 0x1404b38f0\n// > LabelGameObject::updatePreviewLabel @ 0x1404b392b\n// > LabelGameObject::updatePreviewLabel @ 0x1404b3966\n// > LabelGameObject::updatePreviewLabel @ 0x1404b3a1f\n// > <???> @ 0x1406dcae8\n// > <???> @ 0x1406dcaf4\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\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_14003A830(v2);\n}", "assembly": "; \n; LabelGameObject::updateLabel from 0x1404b3a50 to 0x1404b3ad9 (137 bytes)\n; \n; 14 xrefs:\n; > GJBaseGameLayer::refreshCounterLabels @ 0x1402356cc\n; > GJBaseGameLayer::update @ 0x140238d1c\n; > GJBaseGameLayer::update @ 0x140238d8c\n; > GJBaseGameLayer::updateSpecialLabels @ 0x1402394ff\n; > GJBaseGameLayer::updateSpecialLabels @ 0x14023965b\n; > GJBaseGameLayer::updatePlatformerTime @ 0x140239844\n; > LevelEditorLayer::onPlaytest @ 0x1402e0262\n; > LevelEditorLayer::onPlaytest @ 0x1402e02eb\n; > LabelGameObject::updatePreviewLabel @ 0x1404b38f0\n; > LabelGameObject::updatePreviewLabel @ 0x1404b392b\n; > LabelGameObject::updatePreviewLabel @ 0x1404b3966\n; > LabelGameObject::updatePreviewLabel @ 0x1404b3a1f\n; > <???> @ 0x1406dcae8\n; > <???> @ 0x1406dcaf4\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1404b3a50\npush    rdi                                                            ; +0x5, 0x1404b3a55\nsub     rsp, 30h                                                       ; +0x6, 0x1404b3a56\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1404b3a5a\nxor     rax, rsp                                                       ; +0x11, 0x1404b3a61\nmov     [rsp+38h+var_10], rax                                          ; +0x14, 0x1404b3a64\nmov     rbx, rdx                                                       ; +0x19, 0x1404b3a69\nmov     rdi, rcx                                                       ; +0x1c, 0x1404b3a6c\nmov     [rsp+38h+var_18], rdx                                          ; +0x1f, 0x1404b3a6f\ncmp     byte ptr [rcx+788h], 0                                         ; +0x24, 0x1404b3a74\njnz     short loc_1404B3AB9                                            ; +0x2b, 0x1404b3a7b\nmov     rcx, [rcx+740h]                                                ; +0x2d, 0x1404b3a7d\ntest    rcx, rcx                                                       ; +0x34, 0x1404b3a84\njz      short loc_1404B3AB2                                            ; +0x37, 0x1404b3a87\nmov     eax, [rdi+784h]                                                ; +0x39, 0x1404b3a89\nmov     [rcx+210h], eax                                                ; +0x3f, 0x1404b3a8f\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x45, 0x1404b3a95\njbe     short loc_1404B3A9F                                            ; +0x4a, 0x1404b3a9a\nmov     rdx, [rdx]                                                     ; +0x4c, 0x1404b3a9c\nmov     rcx, [rdi+740h]                                                ; +0x4f, 0x1404b3a9f\nadd     rcx, 168h                                                      ; +0x56, 0x1404b3aa6\nmov     rax, [rcx]                                                     ; +0x5d, 0x1404b3aad\ncall    qword ptr [rax]                                                ; +0x60, 0x1404b3ab0\nmov     byte ptr [rdi+748h], 0                                         ; +0x62, 0x1404b3ab2\nmov     rcx, rbx                                                       ; +0x69, 0x1404b3ab9\ncall    sub_14003A830                                                  ; +0x6c, 0x1404b3abc\nmov     rcx, [rsp+38h+var_10]                                          ; +0x71, 0x1404b3ac1\nxor     rcx, rsp; StackCookie                                          ; +0x76, 0x1404b3ac6\ncall    __security_check_cookie                                        ; +0x79, 0x1404b3ac9\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x7e, 0x1404b3ace\nadd     rsp, 30h                                                       ; +0x83, 0x1404b3ad3\npop     rdi                                                            ; +0x87, 0x1404b3ad7\nretn                                                                   ; +0x88, 0x1404b3ad8", "xrefs": ["GJBaseGameLayer::refreshCounterLabels @ 0x1402356cc", "GJBaseGameLayer::update @ 0x140238d1c", "GJBaseGameLayer::update @ 0x140238d8c", "GJBaseGameLayer::updateSpecialLabels @ 0x1402394ff", "GJBaseGameLayer::updateSpecialLabels @ 0x14023965b", "GJBaseGameLayer::updatePlatformerTime @ 0x140239844", "LevelEditorLayer::onPlaytest @ 0x1402e0262", "LevelEditorLayer::onPlaytest @ 0x1402e02eb", "LabelGameObject::updatePreviewLabel @ 0x1404b38f0", "LabelGameObject::updatePreviewLabel @ 0x1404b392b", "LabelGameObject::updatePreviewLabel @ 0x1404b3966", "LabelGameObject::updatePreviewLabel @ 0x1404b3a1f", "<???> @ 0x1406dcae8", "<???> @ 0x1406dcaf4"], "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"}