{"type": "func", "start": 326320, "end": 326376, "name": "sub_4FAB0", "pseudocode": "// \n// sub_4FAB0 from 0x4fab0 to 0x4fae8 (56 bytes)\n// \n// 1 xrefs:\n// > sub_4FB9C @ 0x4fba0\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:40:42 +0000\n// \n\nint __fastcall sub_4FAB0(_DWORD *a1, _DWORD *a2, int a3)\n{\n  _DWORD *v3; // r0\n\n  switch ( a3 )\n  {\n    case 1024:\n      v3 = a1 + 417;\n      goto LABEL_7;\n    case 512:\n      v3 = (_DWORD *)(a1[120] + 8 * *((unsigned __int8 *)a1 + a1[610] + 492));\n      goto LABEL_7;\n    case 256:\n      v3 = a1 + 416;\nLABEL_7:\n      *a2 = *v3;\n      break;\n  }\n  return 0;\n}", "assembly": "; \n; sub_4FAB0 from 0x4fab0 to 0x4fae8 (56 bytes)\n; \n; 1 xrefs:\n; > sub_4FB9C @ 0x4fba0\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:40:42 +0000\n; \nCMP.W           R2, #0x400                                             ; +0x0, 0x4fab0\nBEQ             loc_4FAC8                                              ; +0x4, 0x4fab4\nCMP.W           R2, #0x200                                             ; +0x6, 0x4fab6\nBEQ             loc_4FACE                                              ; +0xa, 0x4faba\nCMP.W           R2, #0x100                                             ; +0xc, 0x4fabc\nBNE             loc_4FAE4                                              ; +0x10, 0x4fac0\nADD.W           R0, R0, #0x680                                         ; +0x12, 0x4fac2\nB               loc_4FAE0                                              ; +0x16, 0x4fac6\nADDW            R0, R0, #0x684                                         ; +0x18, 0x4fac8\nB               loc_4FAE0                                              ; +0x1c, 0x4facc\nLDR.W           R2, [R0,#0x988]                                        ; +0x1e, 0x4face\nADD             R2, R0                                                 ; +0x22, 0x4fad2\nLDR.W           R0, [R0,#0x1E0]                                        ; +0x24, 0x4fad4\nLDRB.W          R2, [R2,#0x1EC]                                        ; +0x28, 0x4fad8\nADD.W           R0, R0, R2,LSL#3                                       ; +0x2c, 0x4fadc\nLDR             R0, [R0]                                               ; +0x30, 0x4fae0\nSTR             R0, [R1]                                               ; +0x32, 0x4fae2\nMOVS            R0, #0                                                 ; +0x34, 0x4fae4\nBX              LR                                                     ; +0x36, 0x4fae6", "xrefs": ["sub_4FB9C @ 0x4fba0"], "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"}