{"type": "func", "start": 4160892, "end": 4160990, "name": "CreateGuidelinesLayer::playMusic", "pseudocode": "// \n// CreateGuidelinesLayer::playMusic from 0x3f7d7c to 0x3f7dde (98 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:47:18 +0000\n// \n\nint __fastcall CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *this)\n{\n  FMODAudioEngine *v2; // r7\n  _BYTE v4[12]; // [sp+0h] [bp-14h] BYREF\n\n  v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);\n  (*(void (__fastcall **)(_BYTE *))(**((_DWORD **)this + 131) + 8))(v4);\n  FMODAudioEngine::loadAndPlayMusic(v2, (int)v4, (unsigned int)(float)(*((float *)this + 137) * 1000.0), 0);\n  return std::string::~string((int)v4);\n}", "assembly": "; \n; CreateGuidelinesLayer::playMusic from 0x3f7d7c to 0x3f7dde (98 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:47:18 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x3f7d7c\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3f7d7e\nLDR             R4, =(__stack_chk_guard_ptr - 0x3F7D8A)                ; +0x4, 0x3f7d80\nMOV             R6, R0                                                 ; +0x6, 0x3f7d82\nMOV             R5, SP                                                 ; +0x8, 0x3f7d84\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3f7d86\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x3f7d88\nLDR             R3, [R4]                                               ; +0xe, 0x3f7d8a\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x10, 0x3f7d8c\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x12, 0x3f7d8e\nLDR.W           R1, [R6,#0x20C]                                        ; +0x16, 0x3f7d92\nLDR             R3, [R1]                                               ; +0x1a, 0x3f7d96\nLDR             R3, [R3,#8]                                            ; +0x1c, 0x3f7d98\nMOV             R7, R0                                                 ; +0x1e, 0x3f7d9a\nMOV             R0, SP                                                 ; +0x20, 0x3f7d9c\nBLX             R3                                                     ; +0x22, 0x3f7d9e\nVLDR            S15, [R6,#0x224]                                       ; +0x24, 0x3f7da0\nMOV             R0, R7                                                 ; +0x28, 0x3f7da4\nMOV             R1, SP                                                 ; +0x2a, 0x3f7da6\nMOVS            R3, #0                                                 ; +0x2c, 0x3f7da8\nVLDR            S14, =1000.0                                           ; +0x2e, 0x3f7daa\nVMUL.F32        S15, S15, S14                                          ; +0x32, 0x3f7dae\nVCVT.U32.F32    S15, S15                                               ; +0x36, 0x3f7db2\nVMOV            R2, S15                                                ; +0x3a, 0x3f7db6\nBL              _ZN15FMODAudioEngine16loadAndPlayMusicENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEji; FMODAudioEngine::loadAndPlayMusic(std::string,uint,int) ; +0x3e, 0x3f7dba\nMOV             R0, SP                                                 ; +0x42, 0x3f7dbe\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x44, 0x3f7dc0\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x48, 0x3f7dc4\nLDR             R3, [R4]                                               ; +0x4a, 0x3f7dc6\nCMP             R2, R3                                                 ; +0x4c, 0x3f7dc8\nBEQ             loc_3F7DDA                                             ; +0x4e, 0x3f7dca\nBLX             __stack_chk_fail                                       ; +0x50, 0x3f7dcc\nMOV             R0, R5                                                 ; +0x54, 0x3f7dd0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x56, 0x3f7dd2\nBL              __cxa_end_cleanup                                      ; +0x5a, 0x3f7dd6\nADD             SP, SP, #0x14                                          ; +0x5e, 0x3f7dda\nPOP             {R4-R7,PC}                                             ; +0x60, 0x3f7ddc", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}