{"type": "func", "start": 4299872672, "end": 4299872756, "name": "FMOD::Geometry::setPolygonVertex", "pseudocode": "// \n// FMOD::Geometry::setPolygonVertex from 0x1004ad9a0 to 0x1004ad9f4 (84 bytes)\n// \n// 1 xrefs:\n// > sub_1004544A0 @ 0x1004544a4\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// local variable allocation has failed, the output may be wrong!\nFMOD_RESULT __fastcall FMOD::Geometry::setPolygonVertex(FMOD::Geometry *a1, int a2, int a3, const FMOD_VECTOR *a4)\n{\n  __int64 v5; // x20\n  __int64 v6; // x21\n  FMOD_RESULT result; // w0\n  __int64 v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v5 = *(_QWORD *)&a3;\n  v6 = *(_QWORD *)&a2;\n  result = (unsigned int)sub_1004B0E44(a1, &v8);\n  if ( result == FMOD_OK )\n    return sub_1004AF230(v8, v6, v5, a4);\n  return result;\n}", "assembly": "; \n; FMOD::Geometry::setPolygonVertex from 0x1004ad9a0 to 0x1004ad9f4 (84 bytes)\n; \n; 1 xrefs:\n; > sub_1004544A0 @ 0x1004544a4\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1004ad9a0\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1004ad9a4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1004ad9a8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1004ad9ac\nADD             X29, SP, #0x30                                         ; +0x10, 0x1004ad9b0\nMOV             X19, X3                                                ; +0x14, 0x1004ad9b4\nMOV             X20, X2                                                ; +0x18, 0x1004ad9b8\nMOV             X21, X1                                                ; +0x1c, 0x1004ad9bc\nADD             X1, SP, #0x30+var_28                                   ; +0x20, 0x1004ad9c0\nBL              sub_1004B0E44                                          ; +0x24, 0x1004ad9c4\nCBNZ            W0, loc_1004AD9E0                                      ; +0x28, 0x1004ad9c8\nLDR             X0, [SP,#0x30+var_28]                                  ; +0x2c, 0x1004ad9cc\nMOV             X1, X21                                                ; +0x30, 0x1004ad9d0\nMOV             X2, X20                                                ; +0x34, 0x1004ad9d4\nMOV             X3, X19                                                ; +0x38, 0x1004ad9d8\nBL              sub_1004AF230                                          ; +0x3c, 0x1004ad9dc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x1004ad9e0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x44, 0x1004ad9e4\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x48, 0x1004ad9e8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x4c, 0x1004ad9ec\nRET                                                                    ; +0x50, 0x1004ad9f0", "xrefs": ["sub_1004544A0 @ 0x1004544a4"], "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"}