{"type": "func", "start": 4299592080, "end": 4299592157, "name": "CreateParticlePopup::onTexturePage", "pseudocode": "// \n// CreateParticlePopup::onTexturePage from 0x100469190 to 0x1004691dd (77 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::init @ 0x100466e35\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 12:30:30 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onTexturePage(__int64 a1, __int64 a2)\n{\n  int v2; // r14d\n\n  v2 = *(_DWORD *)(a1 + 928);\n  *(_DWORD *)(a1 + 928) = (int)(v2 + (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) + 5) % 5;\n  return CreateParticlePopup::applyTexturePage(a1);\n}", "assembly": "; \n; CreateParticlePopup::onTexturePage from 0x100469190 to 0x1004691dd (77 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::init @ 0x100466e35\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 12:30:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100469190\nmov     rbp, rsp                                                       ; +0x1, 0x100469191\npush    r14                                                            ; +0x4, 0x100469194\npush    rbx                                                            ; +0x6, 0x100469196\nmov     rbx, rdi                                                       ; +0x7, 0x100469197\nmov     r14d, [rdi+3A0h]                                               ; +0xa, 0x10046919a\nmov     rax, [rsi]                                                     ; +0x11, 0x1004691a1\nmov     rdi, rsi                                                       ; +0x14, 0x1004691a4\ncall    qword ptr [rax+40h]                                            ; +0x17, 0x1004691a7\nadd     eax, r14d                                                      ; +0x1a, 0x1004691aa\nadd     eax, 5                                                         ; +0x1d, 0x1004691ad\ncdqe                                                                   ; +0x20, 0x1004691b0\nimul    rcx, rax, 66666667h                                            ; +0x22, 0x1004691b2\nmov     rdx, rcx                                                       ; +0x29, 0x1004691b9\nshr     rdx, 3Fh                                                       ; +0x2c, 0x1004691bc\nsar     rcx, 21h                                                       ; +0x30, 0x1004691c0\nadd     ecx, edx                                                       ; +0x34, 0x1004691c4\nlea     ecx, [rcx+rcx*4]                                               ; +0x36, 0x1004691c6\nsub     eax, ecx                                                       ; +0x39, 0x1004691c9\nmov     [rbx+3A0h], eax                                                ; +0x3b, 0x1004691cb\nmov     rdi, rbx                                                       ; +0x41, 0x1004691d1\npop     rbx                                                            ; +0x44, 0x1004691d4\npop     r14                                                            ; +0x45, 0x1004691d5\npop     rbp                                                            ; +0x47, 0x1004691d7\njmp     CreateParticlePopup__applyTexturePage                          ; +0x48, 0x1004691d8", "xrefs": ["CreateParticlePopup::init @ 0x100466e35"], "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"}