{"type": "func", "start": 566860, "end": 566904, "name": "sub_8A64C", "pseudocode": "// \n// sub_8A64C from 0x8a64c to 0x8a678 (44 bytes)\n// \n// 1 xrefs:\n// > sub_8A7EC @ 0x8a7f2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:23 +0000\n// \n\nint __fastcall sub_8A64C(int a1, int a2)\n{\n  int result; // r0\n\n  if ( !a2 )\n    return 0;\n  if ( *(_QWORD *)(a1 + 688) )\n    return 11;\n  result = (*(int (__fastcall **)(int, int, _DWORD, _DWORD))(*(_DWORD *)(a1 + 156) + 32))(a1 + 132, a1 + 688, 0, 0);\n  if ( !result )\n    return 11;\n  return result;\n}", "assembly": "; \n; sub_8A64C from 0x8a64c to 0x8a678 (44 bytes)\n; \n; 1 xrefs:\n; > sub_8A7EC @ 0x8a7f2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:23 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x8a64c\nADD             R7, SP, #8                                             ; +0x2, 0x8a64e\nCBZ             R1, loc_8A674                                          ; +0x4, 0x8a650\nLDRD.W          R1, R2, [R0,#0x2B0]                                    ; +0x6, 0x8a652\nORRS            R1, R2                                                 ; +0xa, 0x8a656\nBNE             loc_8A670                                              ; +0xc, 0x8a658\nLDR.W           R2, [R0,#0x9C]                                         ; +0xe, 0x8a65a\nADD.W           R1, R0, #0x2B0                                         ; +0x12, 0x8a65e\nADDS            R0, #0x84                                              ; +0x16, 0x8a662\nMOVS            R3, #0                                                 ; +0x18, 0x8a664\nLDR             R4, [R2,#0x20]                                         ; +0x1a, 0x8a666\nMOVS            R2, #0                                                 ; +0x1c, 0x8a668\nBLX             R4                                                     ; +0x1e, 0x8a66a\nCBZ             R0, loc_8A670                                          ; +0x20, 0x8a66c\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x8a66e\nMOVS            R0, #0xB                                               ; +0x24, 0x8a670\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0x8a672\nMOVS            R0, #0                                                 ; +0x28, 0x8a674\nPOP             {R4,R6,R7,PC}                                          ; +0x2a, 0x8a676", "xrefs": ["sub_8A7EC @ 0x8a7f2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}