{"type": "func", "start": 4299101680, "end": 4299102060, "name": "InfoLayer::refreshBulkUI", "pseudocode": "// \n// InfoLayer::refreshBulkUI from 0x1003f15f0 to 0x1003f176c (380 bytes)\n// \n// 6 xrefs:\n// > InfoLayer::setupCommentsBrowser @ 0x1003f0b3c\n// > sub_1003F10B4 @ 0x1003f13a4\n// > sub_1003F1F18 @ 0x1003f1fa8\n// > sub_1003F20AC @ 0x1003f226c\n// > sub_1003F20AC @ 0x1003f22f0\n// > sub_1003F236C @ 0x1003f24a0\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:04:30 +0000\n// \n\n__int64 __fastcall InfoLayer::refreshBulkUI(__int64 a1)\n{\n  __int64 result; // x0\n  __int64 *v3; // x22\n  __int64 v4; // x0\n  __int64 v5; // x8\n  __int64 v6; // x0\n  __int64 v7; // x20\n  __int64 v8; // x8\n  __int64 v9; // x21\n  void *v10; // x0\n  __int64 CString; // x0\n\n  result = *(_QWORD *)(a1 + 904);\n  if ( result && *(_QWORD *)(a1 + 912) && *(_QWORD *)(a1 + 920) )\n  {\n    if ( !*(_QWORD *)(a1 + 704) || (*(_BYTE *)(a1 + 880) & 1) == 0 )\n    {\n      v3 = (__int64 *)(a1 + 904);\n      v4 = GameManager::sharedState();\n      if ( *(_DWORD *)(v4 + 1032) - *(_DWORD *)(v4 + 1036) == 2 )\n      {\n        v5 = *(_QWORD *)(a1 + 896);\n        v7 = v5 && (v6 = *(_QWORD *)(v5 + 432)) != 0 && (unsigned int)sub_1002E757C(v6) != 0;\n        (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 912) + 344LL))(*(_QWORD *)(a1 + 912), v7);\n        (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 912) + 1056LL))(*(_QWORD *)(a1 + 912), v7);\n        if ( (int)*(_QWORD *)(a1 + 944) > 0 )\n          v7 = (unsigned int)v7;\n        else\n          v7 = 0;\n        v9 = *(_QWORD *)(a1 + 904);\n        v10 = sub_1003065B0(\"(%i)\", *(_QWORD *)(a1 + 944));\n        CString = cocos2d::CCString::getCString((__int64)v10);\n        (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 928LL))(v9, CString);\n        v8 = 344;\n        goto LABEL_18;\n      }\n      result = *v3;\n    }\n    v3 = (__int64 *)(a1 + 912);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, 0);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)*v3 + 344LL))(*v3, 0);\n    v7 = 0;\n    v8 = 1056;\nLABEL_18:\n    (*(void (**)(void))(*(_QWORD *)*v3 + v8))();\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 920) + 344LL))(*(_QWORD *)(a1 + 920), v7);\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 920) + 1056LL))(*(_QWORD *)(a1 + 920), v7);\n  }\n  return result;\n}", "assembly": "; \n; InfoLayer::refreshBulkUI from 0x1003f15f0 to 0x1003f176c (380 bytes)\n; \n; 6 xrefs:\n; > InfoLayer::setupCommentsBrowser @ 0x1003f0b3c\n; > sub_1003F10B4 @ 0x1003f13a4\n; > sub_1003F1F18 @ 0x1003f1fa8\n; > sub_1003F20AC @ 0x1003f226c\n; > sub_1003F20AC @ 0x1003f22f0\n; > sub_1003F236C @ 0x1003f24a0\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:04:30 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003f15f0\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1003f15f4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1003f15f8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1003f15fc\nADD             X29, SP, #0x30                                         ; +0x10, 0x1003f1600\nMOV             X19, X0                                                ; +0x14, 0x1003f1604\nLDR             X0, [X0,#0x388]                                        ; +0x18, 0x1003f1608\nCBZ             X0, loc_1003F166C                                      ; +0x1c, 0x1003f160c\nLDR             X8, [X19,#0x390]                                       ; +0x20, 0x1003f1610\nCBZ             X8, loc_1003F166C                                      ; +0x24, 0x1003f1614\nLDR             X8, [X19,#0x398]                                       ; +0x28, 0x1003f1618\nCBZ             X8, loc_1003F166C                                      ; +0x2c, 0x1003f161c\nLDR             X8, [X19,#0x2C0]                                       ; +0x30, 0x1003f1620\nCBZ             X8, loc_1003F1630                                      ; +0x34, 0x1003f1624\nLDRB            W8, [X19,#0x370]                                       ; +0x38, 0x1003f1628\nTBNZ            W8, #0, loc_1003F1684                                  ; +0x3c, 0x1003f162c\nADD             X22, X19, #0x388                                       ; +0x40, 0x1003f1630\nBL              GameManager__sharedState                               ; +0x44, 0x1003f1634\nLDR             W8, [X0,#0x408]                                        ; +0x48, 0x1003f1638\nLDR             W9, [X0,#0x40C]                                        ; +0x4c, 0x1003f163c\nSUB             W8, W8, W9                                             ; +0x50, 0x1003f1640\nCMP             W8, #2                                                 ; +0x54, 0x1003f1644\nB.NE            loc_1003F1680                                          ; +0x58, 0x1003f1648\nLDR             X8, [X19,#0x380]                                       ; +0x5c, 0x1003f164c\nCBZ             X8, loc_1003F16B8                                      ; +0x60, 0x1003f1650\nLDR             X0, [X8,#0x1B0]                                        ; +0x64, 0x1003f1654\nCBZ             X0, loc_1003F16B8                                      ; +0x68, 0x1003f1658\nBL              sub_1002E757C                                          ; +0x6c, 0x1003f165c\nCMP             W0, #0                                                 ; +0x70, 0x1003f1660\nCSET            W20, NE                                                ; +0x74, 0x1003f1664\nB               loc_1003F16BC                                          ; +0x78, 0x1003f1668\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x1003f166c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x1003f1670\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x84, 0x1003f1674\nADD             SP, SP, #0x40 ; '@'                                    ; +0x88, 0x1003f1678\nRET                                                                    ; +0x8c, 0x1003f167c\nLDR             X0, [X22]                                              ; +0x90, 0x1003f1680\nADD             X22, X19, #0x390                                       ; +0x94, 0x1003f1684\nLDR             X8, [X0]                                               ; +0x98, 0x1003f1688\nLDR             X8, [X8,#0x158]                                        ; +0x9c, 0x1003f168c\nMOV             W1, #0                                                 ; +0xa0, 0x1003f1690\nBLR             X8                                                     ; +0xa4, 0x1003f1694\nLDR             X0, [X22]                                              ; +0xa8, 0x1003f1698\nLDR             X8, [X0]                                               ; +0xac, 0x1003f169c\nLDR             X8, [X8,#0x158]                                        ; +0xb0, 0x1003f16a0\nMOV             W1, #0                                                 ; +0xb4, 0x1003f16a4\nBLR             X8                                                     ; +0xb8, 0x1003f16a8\nMOV             W20, #0                                                ; +0xbc, 0x1003f16ac\nMOV             W8, #0x420                                             ; +0xc0, 0x1003f16b0\nB               loc_1003F1720                                          ; +0xc4, 0x1003f16b4\nMOV             W20, #0                                                ; +0xc8, 0x1003f16b8\nLDR             X0, [X19,#0x390]                                       ; +0xcc, 0x1003f16bc\nLDR             X8, [X0]                                               ; +0xd0, 0x1003f16c0\nLDR             X8, [X8,#0x158]                                        ; +0xd4, 0x1003f16c4\nMOV             X1, X20                                                ; +0xd8, 0x1003f16c8\nBLR             X8                                                     ; +0xdc, 0x1003f16cc\nLDR             X0, [X19,#0x390]                                       ; +0xe0, 0x1003f16d0\nLDR             X8, [X0]                                               ; +0xe4, 0x1003f16d4\nLDR             X8, [X8,#0x420]                                        ; +0xe8, 0x1003f16d8\nMOV             X1, X20                                                ; +0xec, 0x1003f16dc\nBLR             X8                                                     ; +0xf0, 0x1003f16e0\nLDR             X8, [X19,#0x3B0]                                       ; +0xf4, 0x1003f16e4\nCMP             W8, #0                                                 ; +0xf8, 0x1003f16e8\nCSEL            W20, WZR, W20, LE                                      ; +0xfc, 0x1003f16ec\nLDR             X21, [X19,#0x388]                                      ; +0x100, 0x1003f16f0\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x104, 0x1003f16f4\nADRL            X0, aI_4; \"(%i)\"                                       ; +0x108, 0x1003f16f8\nBL              sub_1003065B0                                          ; +0x110, 0x1003f1700\nBL              cocos2d__CCString__getCString                          ; +0x114, 0x1003f1704\nMOV             X1, X0                                                 ; +0x118, 0x1003f1708\nLDR             X8, [X21]                                              ; +0x11c, 0x1003f170c\nLDR             X8, [X8,#0x3A0]                                        ; +0x120, 0x1003f1710\nMOV             X0, X21                                                ; +0x124, 0x1003f1714\nBLR             X8                                                     ; +0x128, 0x1003f1718\nMOV             W8, #0x158                                             ; +0x12c, 0x1003f171c\nLDR             X0, [X22]                                              ; +0x130, 0x1003f1720\nLDR             X9, [X0]                                               ; +0x134, 0x1003f1724\nLDR             X8, [X9,X8]                                            ; +0x138, 0x1003f1728\nMOV             X1, X20                                                ; +0x13c, 0x1003f172c\nBLR             X8                                                     ; +0x140, 0x1003f1730\nLDR             X0, [X19,#0x398]                                       ; +0x144, 0x1003f1734\nLDR             X8, [X0]                                               ; +0x148, 0x1003f1738\nLDR             X8, [X8,#0x158]                                        ; +0x14c, 0x1003f173c\nMOV             X1, X20                                                ; +0x150, 0x1003f1740\nBLR             X8                                                     ; +0x154, 0x1003f1744\nLDR             X0, [X19,#0x398]                                       ; +0x158, 0x1003f1748\nLDR             X8, [X0]                                               ; +0x15c, 0x1003f174c\nLDR             X2, [X8,#0x420]                                        ; +0x160, 0x1003f1750\nMOV             X1, X20                                                ; +0x164, 0x1003f1754\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x168, 0x1003f1758\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x16c, 0x1003f175c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x170, 0x1003f1760\nADD             SP, SP, #0x40 ; '@'                                    ; +0x174, 0x1003f1764\nBR              X2                                                     ; +0x178, 0x1003f1768", "xrefs": ["InfoLayer::setupCommentsBrowser @ 0x1003f0b3c", "sub_1003F10B4 @ 0x1003f13a4", "sub_1003F1F18 @ 0x1003f1fa8", "sub_1003F20AC @ 0x1003f226c", "sub_1003F20AC @ 0x1003f22f0", "sub_1003F236C @ 0x1003f24a0"], "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"}