{"type": "func", "start": 4297688940, "end": 4297689088, "name": "GJBaseGameLayer::updateQueuedLabels", "pseudocode": "// \n// GJBaseGameLayer::updateQueuedLabels from 0x10029876c to 0x100298800 (148 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::update @ 0x10029b154\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:02:07 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateQueuedLabels(__int64 result)\n{\n  __int64 v1; // x19\n  _QWORD *i; // x20\n  __int64 *v3; // x21\n  __int64 *v4; // x22\n  _QWORD *j; // x19\n  __int64 *v6; // x20\n  __int64 *v7; // x21\n\n  v1 = result;\n  for ( i = *(_QWORD **)(result + 4016); i; i = (_QWORD *)*i )\n  {\n    v3 = (__int64 *)i[3];\n    v4 = (__int64 *)i[4];\n    while ( v3 != v4 )\n    {\n      result = *v3;\n      if ( *(_BYTE *)(*v3 + 773) == 1 )\n        result = sub_10042F6B0();\n      ++v3;\n    }\n  }\n  for ( j = *(_QWORD **)(v1 + 4056); j; j = (_QWORD *)*j )\n  {\n    v6 = (__int64 *)j[3];\n    v7 = (__int64 *)j[4];\n    while ( v6 != v7 )\n    {\n      result = *v6;\n      if ( *(_BYTE *)(*v6 + 773) == 1 )\n        result = sub_10042F6B0();\n      ++v6;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateQueuedLabels from 0x10029876c to 0x100298800 (148 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::update @ 0x10029b154\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:02:07 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10029876c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100298770\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100298774\nADD             X29, SP, #0x20                                         ; +0xc, 0x100298778\nMOV             X19, X0                                                ; +0x10, 0x10029877c\nLDR             X20, [X0,#0xFB0]                                       ; +0x14, 0x100298780\nCBZ             X20, loc_1002987B8                                     ; +0x18, 0x100298784\nLDP             X21, X22, [X20,#0x18]                                  ; +0x1c, 0x100298788\nCMP             X21, X22                                               ; +0x20, 0x10029878c\nB.EQ            loc_1002987B0                                          ; +0x24, 0x100298790\nLDR             X0, [X21]                                              ; +0x28, 0x100298794\nLDRB            W8, [X0,#0x305]                                        ; +0x2c, 0x100298798\nCMP             W8, #1                                                 ; +0x30, 0x10029879c\nB.NE            loc_1002987A8                                          ; +0x34, 0x1002987a0\nBL              sub_10042F6B0                                          ; +0x38, 0x1002987a4\nADD             X21, X21, #8                                           ; +0x3c, 0x1002987a8\nB               loc_10029878C                                          ; +0x40, 0x1002987ac\nLDR             X20, [X20]                                             ; +0x44, 0x1002987b0\nCBNZ            X20, loc_100298788                                     ; +0x48, 0x1002987b4\nLDR             X19, [X19,#0xFD8]                                      ; +0x4c, 0x1002987b8\nCBZ             X19, loc_1002987F0                                     ; +0x50, 0x1002987bc\nLDP             X20, X21, [X19,#0x18]                                  ; +0x54, 0x1002987c0\nCMP             X20, X21                                               ; +0x58, 0x1002987c4\nB.EQ            loc_1002987E8                                          ; +0x5c, 0x1002987c8\nLDR             X0, [X20]                                              ; +0x60, 0x1002987cc\nLDRB            W8, [X0,#0x305]                                        ; +0x64, 0x1002987d0\nCMP             W8, #1                                                 ; +0x68, 0x1002987d4\nB.NE            loc_1002987E0                                          ; +0x6c, 0x1002987d8\nBL              sub_10042F6B0                                          ; +0x70, 0x1002987dc\nADD             X20, X20, #8                                           ; +0x74, 0x1002987e0\nB               loc_1002987C4                                          ; +0x78, 0x1002987e4\nLDR             X19, [X19]                                             ; +0x7c, 0x1002987e8\nCBNZ            X19, loc_1002987C0                                     ; +0x80, 0x1002987ec\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x84, 0x1002987f0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x88, 0x1002987f4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x8c, 0x1002987f8\nRET                                                                    ; +0x90, 0x1002987fc", "xrefs": ["GJBaseGameLayer::update @ 0x10029b154"], "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"}