{"type": "func", "start": 294774, "end": 294868, "name": "sub_47F76", "pseudocode": "// \n// sub_47F76 from 0x47f76 to 0x47fd4 (94 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:40:39 +0000\n// \n\nint __fastcall sub_47F76(int a1, int a2, int a3, int a4, float a5)\n{\n  int result; // r0\n  int v9; // r1\n  int v10; // [sp+4h] [bp-1Ch] BYREF\n\n  if ( (LODWORD(a5) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  result = (*(int (__fastcall **)(int, int, int *))(*(_DWORD *)a1 + 144))(a1, -2, &v10);\n  if ( !result )\n  {\n    result = sub_91D40(v10, v9, a3, a4, a5);\n    if ( !result )\n      return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 260))(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_47F76 from 0x47f76 to 0x47fd4 (94 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:40:39 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x47f76\nADD             R7, SP, #0xC                                           ; +0x2, 0x47f78\nPUSH.W          {R11}                                                  ; +0x4, 0x47f7a\nVPUSH           {D7-D8}; float                                         ; +0x8, 0x47f7e\nVLDR            S16, [R7,#-0x18+arg_0]                                 ; +0xc, 0x47f82\nMOV             R4, R0                                                 ; +0x10, 0x47f86\nVMOV            R0, S16                                                ; +0x12, 0x47f88\nAND.W           R0, R0, #0x7F800000                                    ; +0x16, 0x47f8c\nCMP.W           R0, #0x7F800000                                        ; +0x1a, 0x47f90\nBNE             loc_47F9A                                              ; +0x1e, 0x47f94\nMOVS            R0, #0x1D                                              ; +0x20, 0x47f96\nB               loc_47FCA                                              ; +0x22, 0x47f98\nLDR             R0, [R4]                                               ; +0x24, 0x47f9a\nMOV             R5, R3                                                 ; +0x26, 0x47f9c\nMOV             R6, R2                                                 ; +0x28, 0x47f9e\nADD             R2, SP, #8+var_4                                       ; +0x2a, 0x47fa0\nMOV             R1, #0xFFFFFFFE                                        ; +0x2c, 0x47fa2\nLDR.W           R3, [R0,#0x90]                                         ; +0x30, 0x47fa6\nMOV             R0, R4                                                 ; +0x34, 0x47faa\nBLX             R3                                                     ; +0x36, 0x47fac\nCBNZ            R0, loc_47FCA                                          ; +0x38, 0x47fae\nLDR             R0, [SP,#8+var_4]; int                                 ; +0x3a, 0x47fb0\nMOV             R2, R6; int                                            ; +0x3c, 0x47fb2\nMOV             R3, R5; int                                            ; +0x3e, 0x47fb4\nVSTR            S16, [SP,#8+var_8]                                     ; +0x40, 0x47fb6\nBL              sub_91D40                                              ; +0x44, 0x47fba\nCBNZ            R0, loc_47FCA                                          ; +0x48, 0x47fbe\nLDR             R0, [R4]                                               ; +0x4a, 0x47fc0\nLDR.W           R1, [R0,#0x104]                                        ; +0x4c, 0x47fc2\nMOV             R0, R4                                                 ; +0x50, 0x47fc6\nBLX             R1                                                     ; +0x52, 0x47fc8\nVPOP            {D7-D8}                                                ; +0x54, 0x47fca\nPOP.W           {R11}                                                  ; +0x58, 0x47fce\nPOP             {R4-R7,PC}                                             ; +0x5c, 0x47fd2", "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"}