{"type": "func", "start": 4297617440, "end": 4297617473, "name": "GJOptionsLayer::offsetToNextPage", "pseudocode": "// \n// GJOptionsLayer::offsetToNextPage from 0x100287020 to 0x100287041 (33 bytes)\n// \n// 0 xrefs:\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:27:45 +0000\n// \n\n__int64 __fastcall GJOptionsLayer::offsetToNextPage(__int64 a1)\n{\n  int v1; // esi\n  __int64 result; // rax\n\n  v1 = *(_DWORD *)(a1 + 1020);\n  result = (unsigned int)(*(_DWORD *)(a1 + 1024) / v1);\n  *(_DWORD *)(a1 + 1024) = v1 + *(_DWORD *)(a1 + 1024) - *(_DWORD *)(a1 + 1024) % v1;\n  return result;\n}", "assembly": "; \n; GJOptionsLayer::offsetToNextPage from 0x100287020 to 0x100287041 (33 bytes)\n; \n; 0 xrefs:\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:27:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x100287020\nmov     rbp, rsp                                                       ; +0x1, 0x100287021\nmov     esi, [rdi+3FCh]                                                ; +0x4, 0x100287024\nmov     ecx, [rdi+400h]                                                ; +0xa, 0x10028702a\nmov     eax, ecx                                                       ; +0x10, 0x100287030\ncdq                                                                    ; +0x12, 0x100287032\nidiv    esi                                                            ; +0x13, 0x100287033\nadd     ecx, esi                                                       ; +0x15, 0x100287035\nsub     ecx, edx                                                       ; +0x17, 0x100287037\nmov     [rdi+400h], ecx                                                ; +0x19, 0x100287039\npop     rbp                                                            ; +0x1f, 0x10028703f\nretn                                                                   ; +0x20, 0x100287040", "xrefs": [], "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"}