{"type": "func", "start": 319858, "end": 319896, "name": "sub_4E172", "pseudocode": "// \n// sub_4E172 from 0x4e172 to 0x4e198 (38 bytes)\n// \n// 1 xrefs:\n// > FMOD::Geometry::getRotation @ 0xb27ec\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_4E172(_DWORD *a1, _DWORD *a2, _DWORD *a3)\n{\n  int v3; // r5\n  int v4; // r6\n  _DWORD *v5; // r0\n  int v6; // r3\n  int v7; // r4\n\n  if ( a2 )\n  {\n    v3 = a1[21];\n    v4 = a1[22];\n    *a2 = a1[20];\n    a2[1] = v3;\n    a2[2] = v4;\n  }\n  if ( a3 )\n  {\n    v5 = a1 + 23;\n    v6 = v5[1];\n    v7 = v5[2];\n    *a3 = *v5;\n    a3[1] = v6;\n    a3[2] = v7;\n  }\n  return 0;\n}", "assembly": "; \n; sub_4E172 from 0x4e172 to 0x4e198 (38 bytes)\n; \n; 1 xrefs:\n; > FMOD::Geometry::getRotation @ 0xb27ec\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            {R4-R7,LR}                                             ; +0x0, 0x4e172\nADD             R7, SP, #0xC                                           ; +0x2, 0x4e174\nPUSH.W          {R11}                                                  ; +0x4, 0x4e176\nCBZ             R1, loc_4E186                                          ; +0x8, 0x4e17a\nADD.W           R3, R0, #0x50 ; 'P'                                    ; +0xa, 0x4e17c\nLDM.W           R3, {R4-R6}                                            ; +0xe, 0x4e180\nSTM             R1!, {R4-R6}                                           ; +0x12, 0x4e184\nCBZ             R2, loc_4E190                                          ; +0x14, 0x4e186\nADDS            R0, #0x5C ; '\\'                                        ; +0x16, 0x4e188\nLDM.W           R0, {R1,R3,R4}                                         ; +0x18, 0x4e18a\nSTM             R2!, {R1,R3,R4}                                        ; +0x1c, 0x4e18e\nMOVS            R0, #0                                                 ; +0x1e, 0x4e190\nPOP.W           {R11}                                                  ; +0x20, 0x4e192\nPOP             {R4-R7,PC}                                             ; +0x24, 0x4e196", "xrefs": ["FMOD::Geometry::getRotation @ 0xb27ec"], "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"}