{"type": "func", "start": 423532, "end": 423584, "name": "sub_6766C", "pseudocode": "// \n// sub_6766C from 0x6766c to 0x676a0 (52 bytes)\n// \n// 1 xrefs:\n// > FMOD::SoundGroup::getNumSounds @ 0xdab08\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_6766C(__int64 a1, __int64 a2)\n{\n  _DWORD *v2; // x19\n  __int64 v3; // x20\n  unsigned __int64 v4; // x0\n\n  if ( !a2 )\n    JUMPOUT(0x677A0);\n  sub_677A8();\n  v4 = sub_59188(v3 + 40);\n  *v2 = v4;\n  sub_677C8(v4);\n  return 0;\n}", "assembly": "; \n; sub_6766C from 0x6766c to 0x676a0 (52 bytes)\n; \n; 1 xrefs:\n; > FMOD::SoundGroup::getNumSounds @ 0xdab08\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\nCBZ             X1, loc_6769C                                          ; +0x0, 0x6766c\nSTR             X21, [SP,#var_30]!                                     ; +0x4, 0x67670\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x8, 0x67674\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0xc, 0x67678\nBL              sub_677A8                                              ; +0x10, 0x6767c\nADD             X0, X20, #0x28 ; '('                                   ; +0x14, 0x67680\nBL              sub_59188                                              ; +0x18, 0x67684\nSTR             W0, [X19]                                              ; +0x1c, 0x67688\nLDR             X8, [X21]                                              ; +0x20, 0x6768c\nBL              sub_677C8                                              ; +0x24, 0x67690\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x28, 0x67694\nB               loc_677E4                                              ; +0x2c, 0x67698\nB               loc_677A0                                              ; +0x30, 0x6769c", "xrefs": ["FMOD::SoundGroup::getNumSounds @ 0xdab08"], "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"}