{"type": "func", "start": 4300600848, "end": 4300600941, "name": "GJGameLevel::areCoinsVerified", "pseudocode": "// \n// GJGameLevel::areCoinsVerified from 0x10055f610 to 0x10055f66d (93 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::levelComplete @ 0x1000b385a\n// > EndLevelLayer::customSetup @ 0x1004c0c60\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 __fastcall GJGameLevel::areCoinsVerified(GJGameLevel *a1)\n{\n  int m_coins; // eax\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                  + (unsigned int)(a1->m_thirdCoinVerified.random - a1->m_thirdCoinVerified.seed == 1);\n}", "assembly": "; \n; GJGameLevel::areCoinsVerified from 0x10055f610 to 0x10055f66d (93 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::levelComplete @ 0x1000b385a\n; > EndLevelLayer::customSetup @ 0x1004c0c60\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, 0x10055f610\nmov     rbp, rsp                                                       ; +0x1, 0x10055f611\nmov     eax, [rdi+350h]                                                ; +0x4, 0x10055f614\ntest    eax, eax                                                       ; +0xa, 0x10055f61a\njle     short loc_10055F669                                            ; +0xc, 0x10055f61c\nmov     ecx, [rdi+394h]                                                ; +0xe, 0x10055f61e\nsub     ecx, [rdi+398h]                                                ; +0x14, 0x10055f624\nxor     edx, edx                                                       ; +0x1a, 0x10055f62a\ncmp     ecx, 1                                                         ; +0x1c, 0x10055f62c\nsetz    dl                                                             ; +0x1f, 0x10055f62f\nmov     ecx, [rdi+37Ch]                                                ; +0x22, 0x10055f632\nmov     esi, [rdi+388h]                                                ; +0x28, 0x10055f638\nsub     esi, [rdi+38Ch]                                                ; +0x2e, 0x10055f63e\nxor     r8d, r8d                                                       ; +0x34, 0x10055f644\ncmp     esi, 1                                                         ; +0x37, 0x10055f647\nsetz    r8b                                                            ; +0x3a, 0x10055f64a\nsub     ecx, [rdi+380h]                                                ; +0x3e, 0x10055f64e\nxor     esi, esi                                                       ; +0x44, 0x10055f654\ncmp     ecx, 1                                                         ; +0x46, 0x10055f656\nsetz    sil                                                            ; +0x49, 0x10055f659\nadd     edx, r8d                                                       ; +0x4d, 0x10055f65d\nadd     edx, esi                                                       ; +0x50, 0x10055f660\ncmp     eax, edx                                                       ; +0x52, 0x10055f662\nsetbe   al                                                             ; +0x54, 0x10055f664\npop     rbp                                                            ; +0x57, 0x10055f667\nretn                                                                   ; +0x58, 0x10055f668\nmov     al, 1                                                          ; +0x59, 0x10055f669\npop     rbp                                                            ; +0x5b, 0x10055f66b\nretn                                                                   ; +0x5c, 0x10055f66c", "xrefs": ["PlayLayer::levelComplete @ 0x1000b385a", "EndLevelLayer::customSetup @ 0x1004c0c60"], "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"}