{"type": "func", "start": 294168, "end": 294196, "name": "sub_47D18", "pseudocode": "// \n// sub_47D18 from 0x47d18 to 0x47d34 (28 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_47D18(int a1, unsigned int a2, _DWORD *a3)\n{\n  if ( !a3 )\n    return 31;\n  if ( a2 > 3 )\n    return 59;\n  *a3 = *(_DWORD *)(a1 + 4 * a2 + 244);\n  return 0;\n}", "assembly": "; \n; sub_47D18 from 0x47d18 to 0x47d34 (28 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\nCBZ             R2, loc_47D30                                          ; +0x0, 0x47d18\nCMP             R1, #3                                                 ; +0x2, 0x47d1a\nITT HI                                                                 ; +0x4, 0x47d1c\nMOVHI           R0, #0x3B ; ';'                                        ; +0x6, 0x47d1e\nBXHI            LR                                                     ; +0x8, 0x47d20\nADD.W           R0, R0, R1,LSL#2                                       ; +0xa, 0x47d22\nLDR.W           R0, [R0,#0xF4]                                         ; +0xe, 0x47d26\nSTR             R0, [R2]                                               ; +0x12, 0x47d2a\nMOVS            R0, #0                                                 ; +0x14, 0x47d2c\nBX              LR                                                     ; +0x16, 0x47d2e\nMOVS            R0, #0x1F                                              ; +0x18, 0x47d30\nBX              LR                                                     ; +0x1a, 0x47d32", "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"}