{"type": "func", "start": 281912, "end": 281948, "name": "sub_44D38", "pseudocode": "// \n// sub_44D38 from 0x44d38 to 0x44d5c (36 bytes)\n// \n// 2 xrefs:\n// > sub_45E4E @ 0x45e54\n// > sub_469F0 @ 0x46a08\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_44D38(_DWORD *a1, unsigned int a2, int a3)\n{\n  int v4; // r0\n  unsigned int v5; // r4\n  int result; // r0\n\n  v4 = a1[5];\n  if ( !v4 )\n    return 31;\n  v5 = *(_DWORD *)(v4 + 44);\n  result = 31;\n  if ( v5 > a2 && a3 + a2 <= v5 )\n  {\n    a1[14] = a2;\n    a1[15] = a3;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_44D38 from 0x44d38 to 0x44d5c (36 bytes)\n; \n; 2 xrefs:\n; > sub_45E4E @ 0x45e54\n; > sub_469F0 @ 0x46a08\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,R5,R7,LR}                                          ; +0x0, 0x44d38\nADD             R7, SP, #8                                             ; +0x2, 0x44d3a\nMOV             R3, R0                                                 ; +0x4, 0x44d3c\nLDR             R0, [R0,#0x14]                                         ; +0x6, 0x44d3e\nCBZ             R0, loc_44D58                                          ; +0x8, 0x44d40\nLDR             R4, [R0,#0x2C]                                         ; +0xa, 0x44d42\nMOVS            R0, #0x1F                                              ; +0xc, 0x44d44\nCMP             R4, R1                                                 ; +0xe, 0x44d46\nBLS             locret_44D56                                           ; +0x10, 0x44d48\nADDS            R5, R2, R1                                             ; +0x12, 0x44d4a\nCMP             R5, R4                                                 ; +0x14, 0x44d4c\nITT LS                                                                 ; +0x16, 0x44d4e\nSTRDLS.W        R1, R2, [R3,#0x38]                                     ; +0x18, 0x44d50\nMOVLS           R0, #0                                                 ; +0x1c, 0x44d54\nPOP             {R4,R5,R7,PC}                                          ; +0x1e, 0x44d56\nMOVS            R0, #0x1F                                              ; +0x20, 0x44d58\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0x44d5a", "xrefs": ["sub_45E4E @ 0x45e54", "sub_469F0 @ 0x46a08"], "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"}