{"type": "func", "start": 4298795216, "end": 4298795335, "name": "BoomScrollLayer::addPage_1", "pseudocode": "// \n// BoomScrollLayer::addPage_1 from 0x1003a68d0 to 0x1003a6947 (119 bytes)\n// \n// 0 xrefs:\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\nvoid __fastcall BoomScrollLayer::addPage_1(BoomScrollLayer *a1, cocos2d::CCLayer *a2)\n{\n  int v2; // r15d\n  __int64 v3; // rdx\n\n  v2 = sub_100720070(a1->m_pages);\n  if ( (unsigned int)sub_100720070(a1->m_pages) < v2 )\n    v2 = sub_100720070(a1->m_pages);\n  v3 = 0;\n  if ( v2 > 0 )\n    v3 = (unsigned int)v2;\n  sub_1007201F0(a1->m_pages, a2, v3);\n  BoomScrollLayer::updatePages(a1);\n  BoomScrollLayer::moveToPage(a1, a1->m_page);\n}", "assembly": "; \n; BoomScrollLayer::addPage_1 from 0x1003a68d0 to 0x1003a6947 (119 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x1003a68d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003a68d1\npush    r15                                                            ; +0x4, 0x1003a68d4\npush    r14                                                            ; +0x6, 0x1003a68d6\npush    rbx                                                            ; +0x8, 0x1003a68d8\npush    rax                                                            ; +0x9, 0x1003a68d9\nmov     r14, rsi                                                       ; +0xa, 0x1003a68da\nmov     rbx, rdi                                                       ; +0xd, 0x1003a68dd\nmov     rdi, [rdi+1D8h]                                                ; +0x10, 0x1003a68e0\ncall    sub_100720070                                                  ; +0x17, 0x1003a68e7\nmov     r15d, eax                                                      ; +0x1c, 0x1003a68ec\nmov     rdi, [rbx+1D8h]                                                ; +0x1f, 0x1003a68ef\ncall    sub_100720070                                                  ; +0x26, 0x1003a68f6\ncmp     eax, r15d                                                      ; +0x2b, 0x1003a68fb\njnb     short loc_1003A690F                                            ; +0x2e, 0x1003a68fe\nmov     rdi, [rbx+1D8h]                                                ; +0x30, 0x1003a6900\ncall    sub_100720070                                                  ; +0x37, 0x1003a6907\nmov     r15d, eax                                                      ; +0x3c, 0x1003a690c\nxor     edx, edx                                                       ; +0x3f, 0x1003a690f\ntest    r15d, r15d                                                     ; +0x41, 0x1003a6911\ncmovg   edx, r15d                                                      ; +0x44, 0x1003a6914\nmov     rdi, [rbx+1D8h]                                                ; +0x48, 0x1003a6918\nmov     rsi, r14                                                       ; +0x4f, 0x1003a691f\ncall    sub_1007201F0                                                  ; +0x52, 0x1003a6922\nmov     rdi, rbx                                                       ; +0x57, 0x1003a6927\ncall    BoomScrollLayer__updatePages                                   ; +0x5a, 0x1003a692a\nmov     esi, [rbx+244h]                                                ; +0x5f, 0x1003a692f\nmov     rdi, rbx                                                       ; +0x65, 0x1003a6935\nadd     rsp, 8                                                         ; +0x68, 0x1003a6938\npop     rbx                                                            ; +0x6c, 0x1003a693c\npop     r14                                                            ; +0x6d, 0x1003a693d\npop     r15                                                            ; +0x6f, 0x1003a693f\npop     rbp                                                            ; +0x71, 0x1003a6941\njmp     BoomScrollLayer__moveToPage                                    ; +0x72, 0x1003a6942", "xrefs": [], "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"}