{"type": "func", "start": 505040, "end": 505128, "name": "sub_7B4D0", "pseudocode": "// \n// sub_7B4D0 from 0x7b4d0 to 0x7b528 (88 bytes)\n// \n// 8 xrefs:\n// > sub_7B580 @ 0x7b5b0\n// > sub_7B658 @ 0x7b6e0\n// > sub_7B824 @ 0x7b88c\n// > sub_7B964 @ 0x7b968\n// > sub_7FE24 @ 0x7fe50\n// > sub_B8FA8 @ 0xb8ffc\n// > sub_B9360 @ 0xb95b0\n// > sub_B9D6C @ 0xb9d88\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 sub_7B4D0(__int64 a1, int a2, _QWORD *a3)\n{\n  __int64 result; // x0\n\n  if ( !a2 )\n    a2 = *(_DWORD *)(a1 + 70460);\n  if ( !*(_BYTE *)(a1 + 8) )\n    return 67;\n  result = 31;\n  if ( a3 )\n  {\n    if ( (unsigned int)(a2 - 1) <= 7 )\n    {\n      result = 0;\n      *a3 = a1 + 192LL * (a2 - 1) + 71136;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_7B4D0 from 0x7b4d0 to 0x7b528 (88 bytes)\n; \n; 8 xrefs:\n; > sub_7B580 @ 0x7b5b0\n; > sub_7B658 @ 0x7b6e0\n; > sub_7B824 @ 0x7b88c\n; > sub_7B964 @ 0x7b968\n; > sub_7FE24 @ 0x7fe50\n; > sub_B8FA8 @ 0xb8ffc\n; > sub_B9360 @ 0xb95b0\n; > sub_B9D6C @ 0xb9d88\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             X8, X0                                                 ; +0x0, 0x7b4d0\nCBNZ            W1, loc_7B4E4                                          ; +0x4, 0x7b4d4\nMOV             W9, #0x1133C                                           ; +0x8, 0x7b4d8\nLDR             W1, [X8,X9]                                            ; +0x10, 0x7b4e0\nLDRB            W9, [X8,#8]                                            ; +0x14, 0x7b4e4\nCBZ             W9, loc_7B520                                          ; +0x18, 0x7b4e8\nMOV             W0, #0x1F                                              ; +0x1c, 0x7b4ec\nCBZ             X2, locret_7B51C                                       ; +0x20, 0x7b4f0\nSUB             W9, W1, #1                                             ; +0x24, 0x7b4f4\nCMP             W9, #7                                                 ; +0x28, 0x7b4f8\nB.HI            locret_7B51C                                           ; +0x2c, 0x7b4fc\nMOV             W10, #0xC0                                             ; +0x30, 0x7b500\nSMADDL          X8, W9, W10, X8                                        ; +0x34, 0x7b504\nMOV             W9, #0x115E0                                           ; +0x38, 0x7b508\nMOV             W0, WZR                                                ; +0x40, 0x7b510\nADD             X8, X8, X9                                             ; +0x44, 0x7b514\nSTR             X8, [X2]                                               ; +0x48, 0x7b518\nRET                                                                    ; +0x4c, 0x7b51c\nMOV             W0, #0x43 ; 'C'                                        ; +0x50, 0x7b520\nRET                                                                    ; +0x54, 0x7b524", "xrefs": ["sub_7B580 @ 0x7b5b0", "sub_7B658 @ 0x7b6e0", "sub_7B824 @ 0x7b88c", "sub_7B964 @ 0x7b968", "sub_7FE24 @ 0x7fe50", "sub_B8FA8 @ 0xb8ffc", "sub_B9360 @ 0xb95b0", "sub_B9D6C @ 0xb9d88"], "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"}