{"type": "func", "start": 5370216256, "end": 5370216352, "name": "GJGameLevel::areCoinsVerified", "pseudocode": "// \n// GJGameLevel::areCoinsVerified from 0x14016ff40 to 0x14016ffa0 (96 bytes)\n// \n// 2 xrefs:\n// > EndLevelLayer::customSetup @ 0x1401339c5\n// > PlayLayer::levelComplete @ 0x1403a80a2\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\nbool GJGameLevel::areCoinsVerified(GJGameLevel *a1)\n{\n  int m_coins; // r10d\n\n  m_coins = a1->m_coins;\n  return m_coins <= 0\n      || m_coins <= (a1->m_firstCoinVerified.random - a1->m_firstCoinVerified.seed == 1)\n                  + (a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed == 1)\n                  + (a1->m_thirdCoinVerified.random - a1->m_thirdCoinVerified.seed == 1);\n}", "assembly": "; \n; GJGameLevel::areCoinsVerified from 0x14016ff40 to 0x14016ffa0 (96 bytes)\n; \n; 2 xrefs:\n; > EndLevelLayer::customSetup @ 0x1401339c5\n; > PlayLayer::levelComplete @ 0x1403a80a2\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\nmov     r10d, [rcx+398h]                                               ; +0x0, 0x14016ff40\nmov     r9, rcx                                                        ; +0x7, 0x14016ff47\ntest    r10d, r10d                                                     ; +0xa, 0x14016ff4a\njle     short loc_14016FF9D                                            ; +0xd, 0x14016ff4d\nmov     eax, [rcx+3DCh]                                                ; +0xf, 0x14016ff4f\nxor     edx, edx                                                       ; +0x15, 0x14016ff55\nsub     eax, [rcx+3E0h]                                                ; +0x17, 0x14016ff57\nmov     r8d, edx                                                       ; +0x1d, 0x14016ff5d\ncmp     eax, 1                                                         ; +0x20, 0x14016ff60\nmov     eax, [rcx+3D0h]                                                ; +0x23, 0x14016ff63\nsetz    r8b                                                            ; +0x29, 0x14016ff69\nsub     eax, [rcx+3D4h]                                                ; +0x2d, 0x14016ff6d\ncmp     eax, 1                                                         ; +0x33, 0x14016ff73\nmov     ecx, edx                                                       ; +0x36, 0x14016ff76\nmov     eax, [r9+3C4h]                                                 ; +0x38, 0x14016ff78\nsetz    cl                                                             ; +0x3f, 0x14016ff7f\nsub     eax, [r9+3C8h]                                                 ; +0x42, 0x14016ff82\nadd     r8d, ecx                                                       ; +0x49, 0x14016ff89\ncmp     eax, 1                                                         ; +0x4c, 0x14016ff8c\nsetz    dl                                                             ; +0x4f, 0x14016ff8f\nadd     r8d, edx                                                       ; +0x52, 0x14016ff92\ncmp     r10d, r8d                                                      ; +0x55, 0x14016ff95\njle     short loc_14016FF9D                                            ; +0x58, 0x14016ff98\nxor     al, al                                                         ; +0x5a, 0x14016ff9a\nretn                                                                   ; +0x5c, 0x14016ff9c\nmov     al, 1                                                          ; +0x5d, 0x14016ff9d\nretn                                                                   ; +0x5f, 0x14016ff9f", "xrefs": ["EndLevelLayer::customSetup @ 0x1401339c5", "PlayLayer::levelComplete @ 0x1403a80a2"], "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"}