{"type": "func", "start": 413652, "end": 413706, "name": "sub_64FD4", "pseudocode": "// \n// sub_64FD4 from 0x64fd4 to 0x6500a (54 bytes)\n// \n// 2 xrefs:\n// > sub_431D0 @ 0x431e2\n// > sub_57338 @ 0x5741e\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_64FD4(int a1, int a2, int a3, int a4)\n{\n  int result; // r0\n  __int16 v6; // [sp+6h] [bp-Ah] BYREF\n\n  v6 = HIWORD(a4);\n  if ( !*(_DWORD *)(a1 + 68600) )\n    return 0;\n  result = sub_64F88(a1, (_BYTE *)&v6 + 1, &v6);\n  if ( result )\n    return result;\n  if ( (_BYTE)v6 )\n    return 35;\n  result = sub_64EC0(a1, 14);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_64FD4 from 0x64fd4 to 0x6500a (54 bytes)\n; \n; 2 xrefs:\n; > sub_431D0 @ 0x431e2\n; > sub_57338 @ 0x5741e\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\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x64fd4\nADD             R7, SP, #0x10                                          ; +0x2, 0x64fd6\nMOV             R4, R0                                                 ; +0x4, 0x64fd8\nLDR             R0, =0x10BF8                                           ; +0x6, 0x64fda\nLDR             R0, [R4,R0]                                            ; +0x8, 0x64fdc\nCBZ             R0, loc_65004                                          ; +0xa, 0x64fde\nSUB.W           R1, R7, #-(-8+var_1)                                   ; +0xc, 0x64fe0\nSUB.W           R2, R7, #-(-8+var_2)                                   ; +0x10, 0x64fe4\nMOV             R0, R4                                                 ; +0x14, 0x64fe8\nBL              sub_64F88                                              ; +0x16, 0x64fea\nCBNZ            R0, loc_65006                                          ; +0x1a, 0x64fee\nLDRB.W          R0, [R7,#-8+var_2]                                     ; +0x1c, 0x64ff0\nCBZ             R0, loc_64FFA                                          ; +0x20, 0x64ff4\nMOVS            R0, #0x23 ; '#'                                        ; +0x22, 0x64ff6\nB               loc_65006                                              ; +0x24, 0x64ff8\nMOV             R0, R4                                                 ; +0x26, 0x64ffa\nMOVS            R1, #0xE                                               ; +0x28, 0x64ffc\nBL              sub_64EC0                                              ; +0x2a, 0x64ffe\nCBNZ            R0, loc_65006                                          ; +0x2e, 0x65002\nMOVS            R0, #0                                                 ; +0x30, 0x65004\nADD             SP, SP, #8                                             ; +0x32, 0x65006\nPOP             {R4,R6,R7,PC}                                          ; +0x34, 0x65008", "xrefs": ["sub_431D0 @ 0x431e2", "sub_57338 @ 0x5741e"], "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"}