{"type": "func", "start": 331588, "end": 331626, "name": "sub_50F44", "pseudocode": "// \n// sub_50F44 from 0x50f44 to 0x50f6a (38 bytes)\n// \n// 2 xrefs:\n// > sub_56BEC @ 0x56c56\n// > sub_58788 @ 0x587ba\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:43 +0000\n// \n\nint __fastcall sub_50F44(int a1, int a2)\n{\n  if ( sub_BE198(a2) > 255 )\n    return 31;\n  sub_BE220(a1, a2, 256);\n  return 0;\n}", "assembly": "; \n; sub_50F44 from 0x50f44 to 0x50f6a (38 bytes)\n; \n; 2 xrefs:\n; > sub_56BEC @ 0x56c56\n; > sub_58788 @ 0x587ba\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:43 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x50f44\nADD             R7, SP, #8                                             ; +0x2, 0x50f46\nMOV             R5, R0                                                 ; +0x4, 0x50f48\nMOV             R0, R1                                                 ; +0x6, 0x50f4a\nMOV             R4, R1                                                 ; +0x8, 0x50f4c\nBL              sub_BE198                                              ; +0xa, 0x50f4e\nCMP             R0, #0xFF                                              ; +0xe, 0x50f52\nBLE             loc_50F5A                                              ; +0x10, 0x50f54\nMOVS            R0, #0x1F                                              ; +0x12, 0x50f56\nPOP             {R4,R5,R7,PC}                                          ; +0x14, 0x50f58\nMOV             R0, R5                                                 ; +0x16, 0x50f5a\nMOV             R1, R4                                                 ; +0x18, 0x50f5c\nMOV.W           R2, #0x100                                             ; +0x1a, 0x50f5e\nBL              sub_BE220                                              ; +0x1e, 0x50f62\nMOVS            R0, #0                                                 ; +0x22, 0x50f66\nPOP             {R4,R5,R7,PC}                                          ; +0x24, 0x50f68", "xrefs": ["sub_56BEC @ 0x56c56", "sub_58788 @ 0x587ba"], "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"}