{"type": "func", "start": 282328, "end": 282530, "name": "sub_44ED8", "pseudocode": "// \n// sub_44ED8 from 0x44ed8 to 0x44fa2 (202 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:37 +0000\n// \n\nint __fastcall sub_44ED8(int a1, int a2, int a3, int a4)\n{\n  int result; // r0\n  int v6; // r5\n  int v7; // r0\n  int v8; // r0\n  int v9; // r5\n  unsigned int *v10; // r0\n  unsigned int v11; // r1\n  int v12; // [sp+4h] [bp-14h] BYREF\n\n  result = sub_44C58(a1, a2, a3, a4);\n  if ( !result )\n  {\n    v6 = *(_DWORD *)(a1 + 4);\n    v7 = *(_DWORD *)(v6 + 60);\n    if ( (v7 & 0x300) != 0 )\n    {\n      result = sub_5A318(*(_DWORD *)(a1 + 4), 20, a1 + 528);\n      if ( result )\n        return result;\n      v6 = *(_DWORD *)(a1 + 4);\n      v7 = *(_DWORD *)(v6 + 60);\n    }\n    if ( (v7 & 0x200) != 0 )\n    {\n      result = sub_5A318(v6, 26, a1 + 532);\n      if ( result )\n        return result;\n      v6 = *(_DWORD *)(a1 + 4);\n    }\n    v12 = a1 + 80;\n    v8 = sub_A69D4();\n    result = sub_617B8(v6, v8, 0, &v12, 0);\n    if ( !result )\n    {\n      v9 = v12;\n      result = (*(int (__fastcall **)(int, int, int, _DWORD))(*(_DWORD *)v12 + 20))(v12, 1, 1, 0);\n      if ( !result )\n      {\n        result = sub_ABAE8(v9, a1);\n        if ( !result )\n        {\n          v10 = (unsigned int *)(v9 + 92);\n          *(float *)(v9 + 392) = (float)*(int *)(*(_DWORD *)(a1 + 4) + 1184);\n          __dmb(0xBu);\n          do\n            v11 = __ldrex(v10);\n          while ( __strex(v11 | 0x200, v10) );\n          __dmb(0xBu);\n          *(float *)(a1 + 72) = -*(float *)(a1 + 68);\n          return 0;\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_44ED8 from 0x44ed8 to 0x44fa2 (202 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:37 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x44ed8\nADD             R7, SP, #0xC                                           ; +0x2, 0x44eda\nPUSH.W          {R11}                                                  ; +0x4, 0x44edc\nSUB             SP, SP, #8                                             ; +0x8, 0x44ee0\nMOV             R4, R0                                                 ; +0xa, 0x44ee2\nBL              sub_44C58                                              ; +0xc, 0x44ee4\nCBZ             R0, loc_44EF2                                          ; +0x10, 0x44ee8\nADD             SP, SP, #8                                             ; +0x12, 0x44eea\nPOP.W           {R11}                                                  ; +0x14, 0x44eec\nPOP             {R4-R7,PC}                                             ; +0x18, 0x44ef0\nLDR             R5, [R4,#4]                                            ; +0x1a, 0x44ef2\nLDR             R0, [R5,#0x3C]                                         ; +0x1c, 0x44ef4\nTST.W           R0, #0x300                                             ; +0x1e, 0x44ef6\nBEQ             loc_44F10                                              ; +0x22, 0x44efa\nADD.W           R2, R4, #0x210                                         ; +0x24, 0x44efc\nMOV             R0, R5                                                 ; +0x28, 0x44f00\nMOVS            R1, #0x14                                              ; +0x2a, 0x44f02\nBL              sub_5A318                                              ; +0x2c, 0x44f04\nCMP             R0, #0                                                 ; +0x30, 0x44f08\nBNE             loc_44EEA                                              ; +0x32, 0x44f0a\nLDR             R5, [R4,#4]                                            ; +0x34, 0x44f0c\nLDR             R0, [R5,#0x3C]                                         ; +0x36, 0x44f0e\nLSLS            R0, R0, #0x16                                          ; +0x38, 0x44f10\nBPL             loc_44F26                                              ; +0x3a, 0x44f12\nADD.W           R2, R4, #0x214                                         ; +0x3c, 0x44f14\nMOV             R0, R5                                                 ; +0x40, 0x44f18\nMOVS            R1, #0x1A                                              ; +0x42, 0x44f1a\nBL              sub_5A318                                              ; +0x44, 0x44f1c\nCMP             R0, #0                                                 ; +0x48, 0x44f20\nBNE             loc_44EEA                                              ; +0x4a, 0x44f22\nLDR             R5, [R4,#4]                                            ; +0x4c, 0x44f24\nADD.W           R0, R4, #0x50 ; 'P'                                    ; +0x4e, 0x44f26\nSTR             R0, [SP,#8+var_4]                                      ; +0x52, 0x44f2a\nBL              sub_A69D4                                              ; +0x54, 0x44f2c\nMOV             R1, R0                                                 ; +0x58, 0x44f30\nMOVS            R0, #0                                                 ; +0x5a, 0x44f32\nADD             R3, SP, #8+var_4                                       ; +0x5c, 0x44f34\nSTR             R0, [SP,#8+var_8]                                      ; +0x5e, 0x44f36\nMOV             R0, R5                                                 ; +0x60, 0x44f38\nMOVS            R2, #0                                                 ; +0x62, 0x44f3a\nBL              sub_617B8                                              ; +0x64, 0x44f3c\nCMP             R0, #0                                                 ; +0x68, 0x44f40\nBNE             loc_44EEA                                              ; +0x6a, 0x44f42\nLDR             R5, [SP,#8+var_4]                                      ; +0x6c, 0x44f44\nMOVS            R1, #1                                                 ; +0x6e, 0x44f46\nMOVS            R2, #1                                                 ; +0x70, 0x44f48\nMOVS            R3, #0                                                 ; +0x72, 0x44f4a\nLDR             R0, [R5]                                               ; +0x74, 0x44f4c\nLDR             R6, [R0,#0x14]                                         ; +0x76, 0x44f4e\nMOV             R0, R5                                                 ; +0x78, 0x44f50\nBLX             R6                                                     ; +0x7a, 0x44f52\nCMP             R0, #0                                                 ; +0x7c, 0x44f54\nBNE             loc_44EEA                                              ; +0x7e, 0x44f56\nMOV             R0, R5                                                 ; +0x80, 0x44f58\nMOV             R1, R4                                                 ; +0x82, 0x44f5a\nBL              sub_ABAE8                                              ; +0x84, 0x44f5c\nCMP             R0, #0                                                 ; +0x88, 0x44f60\nBNE             loc_44EEA                                              ; +0x8a, 0x44f62\nLDR             R0, [R4,#4]                                            ; +0x8c, 0x44f64\nADD.W           R0, R0, #0x4A0                                         ; +0x8e, 0x44f66\nVLDR            S0, [R0]                                               ; +0x92, 0x44f6a\nADD.W           R0, R5, #0x5C ; '\\'                                    ; +0x96, 0x44f6e\nVCVT.F32.S32    S0, S0                                                 ; +0x9a, 0x44f72\nVSTR            S0, [R5,#0x188]                                        ; +0x9e, 0x44f76\nDMB.W           ISH                                                    ; +0xa2, 0x44f7a\nLDREX.W         R1, [R0]                                               ; +0xa6, 0x44f7e\nORR.W           R1, R1, #0x200                                         ; +0xaa, 0x44f82\nSTREX.W         R2, R1, [R0]                                           ; +0xae, 0x44f86\nCMP             R2, #0                                                 ; +0xb2, 0x44f8a\nBNE             loc_44F7E                                              ; +0xb4, 0x44f8c\nDMB.W           ISH                                                    ; +0xb6, 0x44f8e\nMOVS            R0, #0                                                 ; +0xba, 0x44f92\nVLDR            S0, [R4,#0x44]                                         ; +0xbc, 0x44f94\nVNEG.F32        S0, S0                                                 ; +0xc0, 0x44f98\nVSTR            S0, [R4,#0x48]                                         ; +0xc4, 0x44f9c\nB               loc_44EEA                                              ; +0xc8, 0x44fa0", "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"}