{"type": "func", "start": 882648, "end": 882748, "name": "sub_D77D8", "pseudocode": "// \n// sub_D77D8 from 0xd77d8 to 0xd783c (100 bytes)\n// \n// 4 xrefs:\n// > sub_76F20 @ 0x76fa8\n// > sub_7DED0 @ 0x7df18\n// > sub_E98EC @ 0xe9ec4\n// > sub_E98EC @ 0xe9ee4\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_D77D8(_DWORD *a1, int a2, int a3, int a4, int a5)\n{\n  __int64 *v5; // x19\n  int v6; // w10\n  __int64 v7; // x8\n  __int64 v8; // x1\n  __int64 v9; // x2\n  __int64 v10; // x0\n\n  a1[2] = a2;\n  a1[3] = a4 * a2;\n  v6 = (a5 + a3) * a2;\n  a1[8] = 0;\n  a1[9] = a3;\n  a1[6] = a4;\n  a1[7] = 0;\n  a1[4] = v6;\n  a1[5] = (a5 + a3) * a4 * a2;\n  a1[10] = 0;\n  a1[11] = v6;\n  sub_D7B28();\n  v10 = sub_E2AC4(*(_QWORD *)(v7 + 432), v8, v9, 1870, 0);\n  *v5 = v10;\n  if ( v10 )\n    return 0;\n  else\n    return 38;\n}", "assembly": "; \n; sub_D77D8 from 0xd77d8 to 0xd783c (100 bytes)\n; \n; 4 xrefs:\n; > sub_76F20 @ 0x76fa8\n; > sub_7DED0 @ 0x7df18\n; > sub_E98EC @ 0xe9ec4\n; > sub_E98EC @ 0xe9ee4\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             X19, [SP,#var_20]!                                     ; +0x0, 0xd77d8\nADD             W8, W4, W2                                             ; +0x4, 0xd77dc\nMUL             W9, W3, W1                                             ; +0x8, 0xd77e0\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0xc, 0xd77e4\nSTP             W1, W9, [X0,#8]                                        ; +0x10, 0xd77e8\nMUL             W10, W8, W1                                            ; +0x14, 0xd77ec\nMUL             W1, W8, W9                                             ; +0x18, 0xd77f0\nSTP             WZR, W2, [X0,#0x20]                                    ; +0x1c, 0xd77f4\nSTP             W3, WZR, [X0,#0x18]                                    ; +0x20, 0xd77f8\nSTP             W10, W1, [X0,#0x10]                                    ; +0x24, 0xd77fc\nSTP             WZR, W10, [X0,#0x28]                                   ; +0x28, 0xd7800\nBL              sub_D7B28                                              ; +0x2c, 0xd7804\nMOV             W3, #0x74E                                             ; +0x30, 0xd7808\nMOV             W4, WZR                                                ; +0x34, 0xd780c\nADD             X29, SP, #0x20+var_10                                  ; +0x38, 0xd7810\nLDR             X0, [X8,#0x1B0]                                        ; +0x3c, 0xd7814\nBL              sub_E2AC4                                              ; +0x40, 0xd7818\nSTR             X0, [X19]                                              ; +0x44, 0xd781c\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x48, 0xd7820\nCMP             X0, #0                                                 ; +0x4c, 0xd7824\nMOV             W8, #0x26 ; '&'                                        ; +0x50, 0xd7828\nCSEL            W8, W8, WZR, EQ                                        ; +0x54, 0xd782c\nMOV             W0, W8                                                 ; +0x58, 0xd7830\nLDR             X19, [SP+0x20+var_20],#0x20                            ; +0x5c, 0xd7834\nRET                                                                    ; +0x60, 0xd7838", "xrefs": ["sub_76F20 @ 0x76fa8", "sub_7DED0 @ 0x7df18", "sub_E98EC @ 0xe9ec4", "sub_E98EC @ 0xe9ee4"], "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"}