{"type": "func", "start": 289188, "end": 289264, "name": "sub_469A4", "pseudocode": "// \n// sub_469A4 from 0x469a4 to 0x469f0 (76 bytes)\n// \n// 0 xrefs:\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\nint __fastcall sub_469A4(_DWORD *a1, _DWORD *a2, int a3, int a4)\n{\n  int result; // r0\n  int v6; // r0\n  int v7; // r2\n  _DWORD v8[2]; // [sp+0h] [bp-10h] BYREF\n\n  v8[0] = a3;\n  v8[1] = a4;\n  if ( !a2 || !a1[5] )\n    return 31;\n  if ( (a3 & 2) != 0 )\n  {\n    v6 = a1[11];\nLABEL_8:\n    *a2 = v6;\n    return 0;\n  }\n  if ( (a3 & 0x10) == 0 )\n    return sub_54934(a1[5], a2);\n  v7 = a1[32];\n  if ( !v7 )\n  {\n    v6 = a1[10];\n    goto LABEL_8;\n  }\n  result = (*(int (__fastcall **)(_DWORD, _DWORD *))(*(_DWORD *)v7 + 68))(a1[32], v8);\n  if ( !result )\n  {\n    v6 = v8[0];\n    goto LABEL_8;\n  }\n  return result;\n}", "assembly": "; \n; sub_469A4 from 0x469a4 to 0x469f0 (76 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x469a4\nADD             R7, SP, #0x10                                          ; +0x2, 0x469a6\nCBZ             R1, loc_469C6                                          ; +0x4, 0x469a8\nMOV             R4, R1                                                 ; +0x6, 0x469aa\nLDR             R1, [R0,#0x14]                                         ; +0x8, 0x469ac\nCBZ             R1, loc_469C6                                          ; +0xa, 0x469ae\nLSLS            R3, R2, #0x1E                                          ; +0xc, 0x469b0\nBMI             loc_469CA                                              ; +0xe, 0x469b2\nLSLS            R3, R2, #0x1B                                          ; +0x10, 0x469b4\nBMI             loc_469D4                                              ; +0x12, 0x469b6\nMOV             R0, R1                                                 ; +0x14, 0x469b8\nMOV             R1, R4                                                 ; +0x16, 0x469ba\nADD             SP, SP, #8                                             ; +0x18, 0x469bc\nPOP.W           {R4,R6,R7,LR}                                          ; +0x1a, 0x469be\nB.W             sub_54934                                              ; +0x1e, 0x469c2\nMOVS            R0, #0x1F                                              ; +0x22, 0x469c6\nB               loc_469D0                                              ; +0x24, 0x469c8\nLDR             R0, [R0,#0x2C]                                         ; +0x26, 0x469ca\nSTR             R0, [R4]                                               ; +0x28, 0x469cc\nMOVS            R0, #0                                                 ; +0x2a, 0x469ce\nADD             SP, SP, #8                                             ; +0x2c, 0x469d0\nPOP             {R4,R6,R7,PC}                                          ; +0x2e, 0x469d2\nLDR.W           R2, [R0,#0x80]                                         ; +0x30, 0x469d4\nCBZ             R2, loc_469EC                                          ; +0x34, 0x469d8\nLDR             R0, [R2]                                               ; +0x36, 0x469da\nMOV             R1, SP                                                 ; +0x38, 0x469dc\nLDR             R3, [R0,#0x44]                                         ; +0x3a, 0x469de\nMOV             R0, R2                                                 ; +0x3c, 0x469e0\nBLX             R3                                                     ; +0x3e, 0x469e2\nCMP             R0, #0                                                 ; +0x40, 0x469e4\nBNE             loc_469D0                                              ; +0x42, 0x469e6\nLDR             R0, [SP,#8+var_8]                                      ; +0x44, 0x469e8\nB               loc_469CC                                              ; +0x46, 0x469ea\nLDR             R0, [R0,#0x28]                                         ; +0x48, 0x469ec\nB               loc_469CC                                              ; +0x4a, 0x469ee", "xrefs": [], "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"}