{"type": "func", "start": 5746030, "end": 5746092, "name": "CustomSongLayer::onSongBrowser", "pseudocode": "// \n// CustomSongLayer::onSongBrowser from 0x57ad6e to 0x57adac (62 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::onSongBrowser(CustomSongLayer *this, cocos2d::CCObject *a2)\n{\n  int *v3; // r0\n  int *v4; // r4\n  cocos2d::CCScene *v5; // r5\n  void (__fastcall *v6)(cocos2d::CCScene *, int *, int); // r6\n  int HighestChildZ; // r0\n\n  v3 = GJSongBrowser::create(this);\n  v3[118] = (int)this + 520;\n  v4 = v3;\n  v5 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3) + 220);\n  v6 = *(void (__fastcall **)(cocos2d::CCScene *, int *, int))(*(_DWORD *)v5 + 232);\n  HighestChildZ = cocos2d::CCScene::getHighestChildZ(v5);\n  v6(v5, v4, HighestChildZ + 1);\n  return (*(int (__fastcall **)(int *, _DWORD))(*v4 + 664))(v4, 0);\n}", "assembly": "; \n; CustomSongLayer::onSongBrowser from 0x57ad6e to 0x57adac (62 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-R6,LR}                                             ; +0x0, 0x57ad6e\nMOV             R5, R0                                                 ; +0x2, 0x57ad70\nBL              _ZN13GJSongBrowser6createEv; GJSongBrowser::create(void) ; +0x4, 0x57ad72\nADD.W           R5, R5, #0x208                                         ; +0x8, 0x57ad76\nSTR.W           R5, [R0,#0x1D8]                                        ; +0xc, 0x57ad7a\nMOV             R4, R0                                                 ; +0x10, 0x57ad7e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x57ad80\nLDR.W           R5, [R0,#0xDC]                                         ; +0x16, 0x57ad84\nLDR             R3, [R5]                                               ; +0x1a, 0x57ad88\nMOV             R0, R5; this                                           ; +0x1c, 0x57ad8a\nLDR.W           R6, [R3,#0xE8]                                         ; +0x1e, 0x57ad8c\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x22, 0x57ad90\nMOV             R1, R4                                                 ; +0x26, 0x57ad94\nADDS            R2, R0, #1                                             ; +0x28, 0x57ad96\nMOV             R0, R5                                                 ; +0x2a, 0x57ad98\nBLX             R6                                                     ; +0x2c, 0x57ad9a\nLDR             R3, [R4]                                               ; +0x2e, 0x57ad9c\nMOV             R0, R4                                                 ; +0x30, 0x57ad9e\nMOVS            R1, #0                                                 ; +0x32, 0x57ada0\nPOP.W           {R4-R6,LR}                                             ; +0x34, 0x57ada2\nLDR.W           R3, [R3,#0x298]                                        ; +0x38, 0x57ada6\nBX              R3                                                     ; +0x3c, 0x57adaa", "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"}