{"type": "func", "start": 4298674292, "end": 4298674372, "name": "LabelGameObject::updateLabel", "pseudocode": "// \n// LabelGameObject::updateLabel from 0x100389074 to 0x1003890c4 (80 bytes)\n// \n// 6 xrefs:\n// > GJBaseGameLayer::refreshCounterLabels @ 0x1001fc8ac\n// > GJBaseGameLayer::resetGroupCounters @ 0x1001fc9d4\n// > GJBaseGameLayer::resetGroupCounters @ 0x1001fca4c\n// > GJBaseGameLayer::updateSpecialLabels @ 0x100200f1c\n// > GJBaseGameLayer::updateSpecialLabels @ 0x100200fe0\n// > GJBaseGameLayer::updatePlatformerTime @ 0x100201308\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__int64 __fastcall LabelGameObject::updateLabel(__int64 result, __int64 *a2)\n{\n  __int64 v2; // x19\n\n  if ( (*(_BYTE *)(result + 1904) & 1) == 0 )\n  {\n    v2 = result;\n    result = *(_QWORD *)(result + 1840);\n    if ( result )\n    {\n      *(_DWORD *)(result + 512) = *(_DWORD *)(v2 + 1900);\n      if ( *((char *)a2 + 23) < 0 )\n        a2 = (__int64 *)*a2;\n      result = (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)result + 912LL))(result, a2);\n    }\n    *(_BYTE *)(v2 + 1848) = 0;\n  }\n  return result;\n}", "assembly": "; \n; LabelGameObject::updateLabel from 0x100389074 to 0x1003890c4 (80 bytes)\n; \n; 6 xrefs:\n; > GJBaseGameLayer::refreshCounterLabels @ 0x1001fc8ac\n; > GJBaseGameLayer::resetGroupCounters @ 0x1001fc9d4\n; > GJBaseGameLayer::resetGroupCounters @ 0x1001fca4c\n; > GJBaseGameLayer::updateSpecialLabels @ 0x100200f1c\n; > GJBaseGameLayer::updateSpecialLabels @ 0x100200fe0\n; > GJBaseGameLayer::updatePlatformerTime @ 0x100201308\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\nLDRB            W8, [X0,#0x770]                                        ; +0x0, 0x100389074\nTBNZ            W8, #0, locret_1003890C0                               ; +0x4, 0x100389078\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x10038907c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x100389080\nADD             X29, SP, #0x10                                         ; +0x10, 0x100389084\nMOV             X19, X0                                                ; +0x14, 0x100389088\nLDR             X0, [X0,#0x730]                                        ; +0x18, 0x10038908c\nCBZ             X0, loc_1003890B4                                      ; +0x1c, 0x100389090\nLDR             W8, [X19,#0x76C]                                       ; +0x20, 0x100389094\nSTR             W8, [X0,#0x200]                                        ; +0x24, 0x100389098\nLDRSB           W8, [X1,#0x17]                                         ; +0x28, 0x10038909c\nTBZ             W8, #0x1F, loc_1003890A8                               ; +0x2c, 0x1003890a0\nLDR             X1, [X1]                                               ; +0x30, 0x1003890a4\nLDR             X8, [X0]                                               ; +0x34, 0x1003890a8\nLDR             X8, [X8,#0x390]                                        ; +0x38, 0x1003890ac\nBLR             X8                                                     ; +0x3c, 0x1003890b0\nSTRB            WZR, [X19,#0x738]                                      ; +0x40, 0x1003890b4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1003890b8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1003890bc\nRET                                                                    ; +0x4c, 0x1003890c0", "xrefs": ["GJBaseGameLayer::refreshCounterLabels @ 0x1001fc8ac", "GJBaseGameLayer::resetGroupCounters @ 0x1001fc9d4", "GJBaseGameLayer::resetGroupCounters @ 0x1001fca4c", "GJBaseGameLayer::updateSpecialLabels @ 0x100200f1c", "GJBaseGameLayer::updateSpecialLabels @ 0x100200fe0", "GJBaseGameLayer::updatePlatformerTime @ 0x100201308"], "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"}