{"type": "func", "start": 5373175216, "end": 5373175319, "name": "LevelSelectLayer::updatePageWithObject", "pseudocode": "// \n// LevelSelectLayer::updatePageWithObject from 0x1404425b0 to 0x140442617 (103 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140792990\n// > <???> @ 0x140927104\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:32:22 +0000\n// \n\n__int64 __fastcall LevelSelectLayer::updatePageWithObject(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 result; // rax\n\n  result = LevelPage::updateDynamicPage(a2, a3);\n  if ( !*(_BYTE *)(a1 + 48) && (float)*(int *)(a1 + 44) > 60.0 )\n  {\n    result = (unsigned int)(*(_DWORD *)(a3 + 328) - *(_DWORD *)(a3 + 332));\n    if ( (_DWORD)result == -1 )\n    {\n      *(_BYTE *)(a1 + 48) = 1;\n      return LevelPage::addSecretCoin(a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; LevelSelectLayer::updatePageWithObject from 0x1404425b0 to 0x140442617 (103 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140792990\n; > <???> @ 0x140927104\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:32:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404425b0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404425b5\npush    rdi                                                            ; +0xa, 0x1404425ba\nsub     rsp, 20h                                                       ; +0xb, 0x1404425bb\nmov     rsi, rdx                                                       ; +0xf, 0x1404425bf\nmov     rbx, rcx                                                       ; +0x12, 0x1404425c2\nmov     rcx, rsi                                                       ; +0x15, 0x1404425c5\nmov     rdx, r8                                                        ; +0x18, 0x1404425c8\nmov     rdi, r8                                                        ; +0x1b, 0x1404425cb\ncall    LevelPage__updateDynamicPage                                   ; +0x1e, 0x1404425ce\ncmp     byte ptr [rbx+30h], 0                                          ; +0x23, 0x1404425d3\njnz     short loc_140442607                                            ; +0x27, 0x1404425d7\nmovd    xmm0, dword ptr [rbx+2Ch]                                      ; +0x29, 0x1404425d9\ncvtdq2ps xmm0, xmm0                                                    ; +0x2e, 0x1404425de\ncomiss  xmm0, cs:dword_1408356E4                                       ; +0x31, 0x1404425e1\njbe     short loc_140442607                                            ; +0x38, 0x1404425e8\nmov     eax, [rdi+148h]                                                ; +0x3a, 0x1404425ea\nsub     eax, [rdi+14Ch]                                                ; +0x40, 0x1404425f0\ncmp     eax, 0FFFFFFFFh                                                ; +0x46, 0x1404425f6\njnz     short loc_140442607                                            ; +0x49, 0x1404425f9\nmov     rcx, rsi                                                       ; +0x4b, 0x1404425fb\nmov     byte ptr [rbx+30h], 1                                          ; +0x4e, 0x1404425fe\ncall    LevelPage__addSecretCoin                                       ; +0x52, 0x140442602\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x57, 0x140442607\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5c, 0x14044260c\nadd     rsp, 20h                                                       ; +0x61, 0x140442611\npop     rdi                                                            ; +0x65, 0x140442615\nretn                                                                   ; +0x66, 0x140442616", "xrefs": ["<???> @ 0x140792990", "<???> @ 0x140927104"], "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"}