{"type": "func", "start": 4300784048, "end": 4300784141, "name": "GJGameLevel::areCoinsVerified", "pseudocode": "// \n// GJGameLevel::areCoinsVerified from 0x10058c1b0 to 0x10058c20d (93 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::levelComplete @ 0x100080fb7\n// > EndLevelLayer::customSetup @ 0x1004b9c33\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:32:24 +0000\n// \n\nbool __fastcall GJGameLevel::areCoinsVerified(_DWORD *a1)\n{\n  signed int v1; // eax\n\n  v1 = a1[241];\n  return v1 <= 0 || v1 <= (a1[252] - a1[253] == 1) + (a1[255] - a1[256] == 1) + (unsigned int)(a1[258] - a1[259] == 1);\n}", "assembly": "; \n; GJGameLevel::areCoinsVerified from 0x10058c1b0 to 0x10058c20d (93 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::levelComplete @ 0x100080fb7\n; > EndLevelLayer::customSetup @ 0x1004b9c33\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:32:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058c1b0\nmov     rbp, rsp                                                       ; +0x1, 0x10058c1b1\nmov     eax, [rdi+3C4h]                                                ; +0x4, 0x10058c1b4\ntest    eax, eax                                                       ; +0xa, 0x10058c1ba\njle     short loc_10058C209                                            ; +0xc, 0x10058c1bc\nmov     ecx, [rdi+408h]                                                ; +0xe, 0x10058c1be\nsub     ecx, [rdi+40Ch]                                                ; +0x14, 0x10058c1c4\nxor     edx, edx                                                       ; +0x1a, 0x10058c1ca\ncmp     ecx, 1                                                         ; +0x1c, 0x10058c1cc\nsetz    dl                                                             ; +0x1f, 0x10058c1cf\nmov     ecx, [rdi+3F0h]                                                ; +0x22, 0x10058c1d2\nmov     esi, [rdi+3FCh]                                                ; +0x28, 0x10058c1d8\nsub     esi, [rdi+400h]                                                ; +0x2e, 0x10058c1de\nxor     r8d, r8d                                                       ; +0x34, 0x10058c1e4\ncmp     esi, 1                                                         ; +0x37, 0x10058c1e7\nsetz    r8b                                                            ; +0x3a, 0x10058c1ea\nsub     ecx, [rdi+3F4h]                                                ; +0x3e, 0x10058c1ee\nxor     esi, esi                                                       ; +0x44, 0x10058c1f4\ncmp     ecx, 1                                                         ; +0x46, 0x10058c1f6\nsetz    sil                                                            ; +0x49, 0x10058c1f9\nadd     edx, r8d                                                       ; +0x4d, 0x10058c1fd\nadd     edx, esi                                                       ; +0x50, 0x10058c200\ncmp     eax, edx                                                       ; +0x52, 0x10058c202\nsetbe   al                                                             ; +0x54, 0x10058c204\npop     rbp                                                            ; +0x57, 0x10058c207\nretn                                                                   ; +0x58, 0x10058c208\nmov     al, 1                                                          ; +0x59, 0x10058c209\npop     rbp                                                            ; +0x5b, 0x10058c20b\nretn                                                                   ; +0x5c, 0x10058c20c", "xrefs": ["PlayLayer::levelComplete @ 0x100080fb7", "EndLevelLayer::customSetup @ 0x1004b9c33"], "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"}