{"type": "func", "start": 4299872840, "end": 4299872932, "name": "FMOD::Geometry::setPolygonAttributes", "pseudocode": "// \n// FMOD::Geometry::setPolygonAttributes from 0x1004ada48 to 0x1004adaa4 (92 bytes)\n// \n// 1 xrefs:\n// > sub_1004544C0 @ 0x1004544cc\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::setPolygonAttributes(FMOD::Geometry *a1, int a2, float a3, float a4, bool a5)\n{\n  _BOOL8 v5; // x19\n  __int64 v8; // x20\n  FMOD_RESULT result; // w0\n  __int64 v10; // [xsp+8h] [xbp-28h] BYREF\n\n  v5 = a5;\n  v8 = *(_QWORD *)&a2;\n  result = (unsigned int)sub_1004B0E44(a1, &v10);\n  if ( result == FMOD_OK )\n    return (unsigned int)sub_1004AF3D8(v10, v8, v5, a3, a4);\n  return result;\n}", "assembly": "; \n; FMOD::Geometry::setPolygonAttributes from 0x1004ada48 to 0x1004adaa4 (92 bytes)\n; \n; 1 xrefs:\n; > sub_1004544C0 @ 0x1004544cc\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, 0x1004ada48\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x1004ada4c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1004ada50\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1004ada54\nADD             X29, SP, #0x30                                         ; +0x10, 0x1004ada58\nMOV             X19, X2                                                ; +0x14, 0x1004ada5c\nFMOV            S8, S1                                                 ; +0x18, 0x1004ada60\nFMOV            S9, S0                                                 ; +0x1c, 0x1004ada64\nMOV             X20, X1                                                ; +0x20, 0x1004ada68\nADD             X1, SP, #0x30+var_28                                   ; +0x24, 0x1004ada6c\nBL              sub_1004B0E44                                          ; +0x28, 0x1004ada70\nCBNZ            W0, loc_1004ADA90                                      ; +0x2c, 0x1004ada74\nLDR             X0, [SP,#0x30+var_28]                                  ; +0x30, 0x1004ada78\nMOV             X1, X20                                                ; +0x34, 0x1004ada7c\nFMOV            S0, S9                                                 ; +0x38, 0x1004ada80\nFMOV            S1, S8                                                 ; +0x3c, 0x1004ada84\nMOV             X2, X19                                                ; +0x40, 0x1004ada88\nBL              sub_1004AF3D8                                          ; +0x44, 0x1004ada8c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x48, 0x1004ada90\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x4c, 0x1004ada94\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x50, 0x1004ada98\nADD             SP, SP, #0x40 ; '@'                                    ; +0x54, 0x1004ada9c\nRET                                                                    ; +0x58, 0x1004adaa0", "xrefs": ["sub_1004544C0 @ 0x1004544cc"], "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"}