{"type": "func", "start": 294130, "end": 294168, "name": "sub_47CF2", "pseudocode": "// \n// sub_47CF2 from 0x47cf2 to 0x47d18 (38 bytes)\n// \n// 2 xrefs:\n// > sub_49C60 @ 0x49c76\n// > sub_4C372 @ 0x4c390\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_47CF2(int a1, unsigned int a2, int a3)\n{\n  if ( (a3 & 0x7F800000) == 0x7F800000 )\n    return 29;\n  if ( a2 > 3 )\n    return 59;\n  *(_DWORD *)(a1 + 4 * a2 + 244) = a3;\n  return 0;\n}", "assembly": "; \n; sub_47CF2 from 0x47cf2 to 0x47d18 (38 bytes)\n; \n; 2 xrefs:\n; > sub_49C60 @ 0x49c76\n; > sub_4C372 @ 0x4c390\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\nAND.W           R3, R2, #0x7F800000                                    ; +0x0, 0x47cf2\nCMP.W           R3, #0x7F800000                                        ; +0x4, 0x47cf6\nITT EQ                                                                 ; +0x8, 0x47cfa\nMOVEQ           R0, #0x1D                                              ; +0xa, 0x47cfc\nBXEQ            LR                                                     ; +0xc, 0x47cfe\nCMP             R1, #3                                                 ; +0xe, 0x47d00\nITT HI                                                                 ; +0x10, 0x47d02\nMOVHI           R0, #0x3B ; ';'                                        ; +0x12, 0x47d04\nBXHI            LR                                                     ; +0x14, 0x47d06\nVMOV            S0, R2                                                 ; +0x16, 0x47d08\nADD.W           R0, R0, R1,LSL#2                                       ; +0x1a, 0x47d0c\nVSTR            S0, [R0,#0xF4]                                         ; +0x1e, 0x47d10\nMOVS            R0, #0                                                 ; +0x22, 0x47d14\nBX              LR                                                     ; +0x24, 0x47d16", "xrefs": ["sub_49C60 @ 0x49c76", "sub_4C372 @ 0x4c390"], "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"}