{"type": "func", "start": 5370347120, "end": 5370347220, "name": "EditorSoundBrowserLayer::onNextPage", "pseudocode": "// \n// EditorSoundBrowserLayer::onNextPage from 0x14018fe70 to 0x14018fed4 (100 bytes)\n// \n// 2 xrefs:\n// > EditorSoundBrowserLayer::init @ 0x14018e6d6\n// > <???> @ 0x14091925c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:42 +0000\n// \n\nvoid __fastcall EditorSoundBrowserLayer::onNextPage(__int64 a1)\n{\n  cocos2d::CCArray *v2; // rcx\n\n  if ( *(_DWORD *)(a1 + 1032) < 2u )\n  {\n    if ( *(_DWORD *)(a1 + 1096) <= 10 * (*(_DWORD *)(a1 + 1036) + 1) )\n      return;\n    goto LABEL_6;\n  }\n  v2 = *(cocos2d::CCArray **)(a1 + 1088);\n  if ( !v2 || (int)cocos2d::CCArray::count(v2) >= 10 )\n  {\nLABEL_6:\n    ++*(_DWORD *)(a1 + 1036);\n    EditorSoundBrowserLayer::loadCurrentPage(a1, 0, 0);\n  }\n}", "assembly": "; \n; EditorSoundBrowserLayer::onNextPage from 0x14018fe70 to 0x14018fed4 (100 bytes)\n; \n; 2 xrefs:\n; > EditorSoundBrowserLayer::init @ 0x14018e6d6\n; > <???> @ 0x14091925c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:42 +0000\n; \npush    rbx                                                            ; +0x0, 0x14018fe70\nsub     rsp, 20h                                                       ; +0x2, 0x14018fe72\nmov     eax, [rcx+408h]                                                ; +0x6, 0x14018fe76\nmov     rbx, rcx                                                       ; +0xc, 0x14018fe7c\ntest    eax, eax                                                       ; +0xf, 0x14018fe7f\njz      short loc_14018FEA1                                            ; +0x11, 0x14018fe81\ncmp     eax, 1                                                         ; +0x13, 0x14018fe83\njz      short loc_14018FEA1                                            ; +0x16, 0x14018fe86\nmov     rcx, [rcx+440h]                                                ; +0x18, 0x14018fe88\ntest    rcx, rcx                                                       ; +0x1f, 0x14018fe8f\njz      short loc_14018FEB6                                            ; +0x22, 0x14018fe92\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x14018fe94\ncmp     eax, 0Ah                                                       ; +0x2a, 0x14018fe9a\njl      short loc_14018FECE                                            ; +0x2d, 0x14018fe9d\njmp     short loc_14018FEB6                                            ; +0x2f, 0x14018fe9f\nmov     eax, [rcx+40Ch]                                                ; +0x31, 0x14018fea1\ninc     eax                                                            ; +0x37, 0x14018fea7\nlea     eax, [rax+rax*4]                                               ; +0x39, 0x14018fea9\nadd     eax, eax                                                       ; +0x3c, 0x14018feac\ncmp     [rcx+448h], eax                                                ; +0x3e, 0x14018feae\njle     short loc_14018FECE                                            ; +0x44, 0x14018feb4\ninc     dword ptr [rbx+40Ch]                                           ; +0x46, 0x14018feb6\nxor     r8d, r8d                                                       ; +0x4c, 0x14018febc\nxor     edx, edx                                                       ; +0x4f, 0x14018febf\nmov     rcx, rbx                                                       ; +0x51, 0x14018fec1\nadd     rsp, 20h                                                       ; +0x54, 0x14018fec4\npop     rbx                                                            ; +0x58, 0x14018fec8\njmp     EditorSoundBrowserLayer__loadCurrentPage                       ; +0x59, 0x14018fec9\nadd     rsp, 20h                                                       ; +0x5e, 0x14018fece\npop     rbx                                                            ; +0x62, 0x14018fed2\nretn                                                                   ; +0x63, 0x14018fed3", "xrefs": ["EditorSoundBrowserLayer::init @ 0x14018e6d6", "<???> @ 0x14091925c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}