{"type": "func", "start": 289264, "end": 289360, "name": "sub_469F0", "pseudocode": "// \n// sub_469F0 from 0x469f0 to 0x46a50 (96 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_469F0(int a1, unsigned int a2, int a3)\n{\n  int v6; // r0\n  int result; // r0\n\n  if ( !*(_DWORD *)(a1 + 128) )\n    return 30;\n  if ( sub_44D38((_DWORD *)a1, a2, a3) )\n    return 0;\n  if ( (*(int (__fastcall **)(_DWORD, unsigned int, int, unsigned int, int))(**(_DWORD **)(a1 + 20) + 156))(\n         *(_DWORD *)(a1 + 20),\n         a2,\n         2,\n         a2 + a3 - 1,\n         2) )\n  {\n    return 0;\n  }\n  v6 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 64);\n  __dmb(0xBu);\n  if ( (v6 & 0x80) == 0 )\n    return 0;\n  result = (*(int (__fastcall **)(_DWORD, unsigned int, int))(**(_DWORD **)(a1 + 128) + 72))(\n             *(_DWORD *)(a1 + 128),\n             a2,\n             a3);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_469F0 from 0x469f0 to 0x46a50 (96 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            {R4-R7,LR}                                             ; +0x0, 0x469f0\nADD             R7, SP, #0xC                                           ; +0x2, 0x469f2\nPUSH.W          {R11}                                                  ; +0x4, 0x469f4\nSUB             SP, SP, #8                                             ; +0x8, 0x469f8\nMOV             R6, R0                                                 ; +0xa, 0x469fa\nLDR.W           R0, [R0,#0x80]                                         ; +0xc, 0x469fc\nCBZ             R0, loc_46A46                                          ; +0x10, 0x46a00\nMOV             R0, R6                                                 ; +0x12, 0x46a02\nMOV             R4, R2                                                 ; +0x14, 0x46a04\nMOV             R5, R1                                                 ; +0x16, 0x46a06\nBL              sub_44D38                                              ; +0x18, 0x46a08\nCBNZ            R0, loc_46A42                                          ; +0x1c, 0x46a0c\nLDR             R0, [R6,#0x14]                                         ; +0x1e, 0x46a0e\nMOVS            R2, #2                                                 ; +0x20, 0x46a10\nLDR             R1, [R0]                                               ; +0x22, 0x46a12\nLDR.W           R12, [R1,#0x9C]                                        ; +0x24, 0x46a14\nMOVS            R1, #2                                                 ; +0x28, 0x46a18\nSTR             R1, [SP,#8+var_8]                                      ; +0x2a, 0x46a1a\nADDS            R1, R5, R4                                             ; +0x2c, 0x46a1c\nSUBS            R3, R1, #1                                             ; +0x2e, 0x46a1e\nMOV             R1, R5                                                 ; +0x30, 0x46a20\nBLX             R12                                                    ; +0x32, 0x46a22\nCBNZ            R0, loc_46A42                                          ; +0x34, 0x46a24\nLDR             R0, [R6,#0x14]                                         ; +0x36, 0x46a26\nLDR             R0, [R0,#0x40]                                         ; +0x38, 0x46a28\nDMB.W           ISH                                                    ; +0x3a, 0x46a2a\nLSLS            R0, R0, #0x18                                          ; +0x3e, 0x46a2e\nBPL             loc_46A42                                              ; +0x40, 0x46a30\nLDR.W           R0, [R6,#0x80]                                         ; +0x42, 0x46a32\nMOV             R2, R4                                                 ; +0x46, 0x46a36\nLDR             R1, [R0]                                               ; +0x48, 0x46a38\nLDR             R3, [R1,#0x48]                                         ; +0x4a, 0x46a3a\nMOV             R1, R5                                                 ; +0x4c, 0x46a3c\nBLX             R3                                                     ; +0x4e, 0x46a3e\nCBNZ            R0, loc_46A48                                          ; +0x50, 0x46a40\nMOVS            R0, #0                                                 ; +0x52, 0x46a42\nB               loc_46A48                                              ; +0x54, 0x46a44\nMOVS            R0, #0x1E                                              ; +0x56, 0x46a46\nADD             SP, SP, #8                                             ; +0x58, 0x46a48\nPOP.W           {R11}                                                  ; +0x5a, 0x46a4a\nPOP             {R4-R7,PC}                                             ; +0x5e, 0x46a4e", "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"}