{"type": "func", "start": 5746092, "end": 5746136, "name": "CustomSongLayer::onMusicBrowser", "pseudocode": "// \n// CustomSongLayer::onMusicBrowser from 0x57adac to 0x57add8 (44 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:52:48 +0000\n// \n\nint __fastcall CustomSongLayer::onMusicBrowser(CustomSongLayer *this, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  int *v4; // r0\n  int v5; // r3\n\n  v3 = *((_DWORD *)this + 132);\n  if ( v3 )\n    v3 = (*(int (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)v3 + 4))(v3, a2);\n  v4 = (int *)MusicBrowser::create(v3, -1);\n  v5 = *v4;\n  v4[158] = (int)this + 524;\n  return (*(int (**)(void))(v5 + 656))();\n}", "assembly": "; \n; CustomSongLayer::onMusicBrowser from 0x57adac to 0x57add8 (44 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:52:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x57adac\nMOV             R4, R0                                                 ; +0x2, 0x57adae\nLDR.W           R0, [R0,#0x210]                                        ; +0x4, 0x57adb0\nCBZ             R0, loc_57ADBC                                         ; +0x8, 0x57adb4\nLDR             R3, [R0]                                               ; +0xa, 0x57adb6\nLDR             R3, [R3,#4]                                            ; +0xc, 0x57adb8\nBLX             R3                                                     ; +0xe, 0x57adba\nMOV.W           R1, #0xFFFFFFFF                                        ; +0x10, 0x57adbc\nADD.W           R4, R4, #0x20C                                         ; +0x14, 0x57adc0\nBL              _ZN12MusicBrowser6createEi10GJSongType; MusicBrowser::create(int,GJSongType) ; +0x18, 0x57adc4\nLDR             R3, [R0]                                               ; +0x1c, 0x57adc8\nSTR.W           R4, [R0,#0x278]                                        ; +0x1e, 0x57adca\nPOP.W           {R4,LR}                                                ; +0x22, 0x57adce\nLDR.W           R3, [R3,#0x290]                                        ; +0x26, 0x57add2\nBX              R3                                                     ; +0x2a, 0x57add6", "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"}