{"type": "func", "start": 634780, "end": 634812, "name": "sub_9AF9C", "pseudocode": "// \n// sub_9AF9C from 0x9af9c to 0x9afbc (32 bytes)\n// \n// 0 xrefs:\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:30 +0000\n// \n\nint __fastcall sub_9AF9C(int a1, int a2, _DWORD *a3, _BYTE *a4)\n{\n  int result; // r0\n\n  result = 31;\n  if ( a2 == 23 && a3 )\n  {\n    *a3 = *(unsigned __int8 *)(*(_DWORD *)a1 + 404);\n    result = 0;\n    if ( a4 )\n      *a4 = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_9AF9C from 0x9af9c to 0x9afbc (32 bytes)\n; \n; 0 xrefs:\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:30 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x9af9c\nADD             R7, SP, #8                                             ; +0x2, 0x9af9e\nMOV             R4, R0                                                 ; +0x4, 0x9afa0\nMOVS            R0, #0x1F                                              ; +0x6, 0x9afa2\nCMP             R1, #0x17                                              ; +0x8, 0x9afa4\nBNE             locret_9AFBA                                           ; +0xa, 0x9afa6\nCBZ             R2, locret_9AFBA                                       ; +0xc, 0x9afa8\nLDR             R0, [R4]                                               ; +0xe, 0x9afaa\nLDRB.W          R0, [R0,#0x194]                                        ; +0x10, 0x9afac\nSTR             R0, [R2]                                               ; +0x14, 0x9afb0\nMOV.W           R0, #0                                                 ; +0x16, 0x9afb2\nCBZ             R3, locret_9AFBA                                       ; +0x1a, 0x9afb6\nSTRB            R0, [R3]                                               ; +0x1c, 0x9afb8\nPOP             {R4,R6,R7,PC}                                          ; +0x1e, 0x9afba", "xrefs": [], "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"}