{"type": "func", "start": 353132, "end": 353216, "name": "sub_5636C", "pseudocode": "// \n// sub_5636C from 0x5636c to 0x563c0 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10c4e8\n// > <???> @ 0x10c710\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\n__int64 __fastcall sub_5636C(long double a1)\n{\n  __int64 v1; // x20\n  __int64 result; // x0\n  __int64 v4; // [xsp+8h] [xbp-18h]\n\n  if ( (~LODWORD(a1) & 0x7F800000) == 0 )\n    return 29;\n  result = ((__int64 (*)(void))loc_578C8)();\n  if ( !(_DWORD)result )\n  {\n    result = sub_B06E8(v4, v1, a1);\n    if ( !(_DWORD)result )\n      return ((__int64 (*)(void))loc_57870)();\n  }\n  return result;\n}", "assembly": "; \n; sub_5636C from 0x5636c to 0x563c0 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10c4e8\n; > <???> @ 0x10c710\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\nSTR             D8, [SP,#-0x10+var_20]!                                ; +0x0, 0x5636c\nMOV             V8.16B, V0.16B                                         ; +0x4, 0x56370\nFMOV            W8, S8                                                 ; +0x8, 0x56374\nMVN             W8, W8                                                 ; +0xc, 0x56378\nTST             W8, #0x7F800000                                        ; +0x10, 0x5637c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x14, 0x56380\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x18, 0x56384\nADD             X29, SP, #0x20                                         ; +0x1c, 0x56388\nB.NE            loc_56398                                              ; +0x20, 0x5638c\nMOV             W0, #0x1D                                              ; +0x24, 0x56390\nB               loc_563B8                                              ; +0x28, 0x56394\nBL              loc_578C8                                              ; +0x2c, 0x56398\nCBNZ            W0, loc_563B8                                          ; +0x30, 0x5639c\nLDR             X0, [SP,#0x20+var_18]                                  ; +0x34, 0x563a0\nMOV             X1, X20                                                ; +0x38, 0x563a4\nMOV             V0.16B, V8.16B                                         ; +0x3c, 0x563a8\nBL              sub_B06E8                                              ; +0x40, 0x563ac\nCBNZ            W0, loc_563B8                                          ; +0x44, 0x563b0\nBL              loc_57870                                              ; +0x48, 0x563b4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4c, 0x563b8\nB               loc_57974                                              ; +0x50, 0x563bc", "xrefs": ["<???> @ 0x10c4e8", "<???> @ 0x10c710"], "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"}