{"type": "func", "start": 4300750896, "end": 4300750996, "name": "GJGameLevel::getCoinKey", "pseudocode": "// \n// GJGameLevel::getCoinKey from 0x100584030 to 0x100584094 (100 bytes)\n// \n// 1 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100239119\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:21 +0000\n// \n\n__int64 __fastcall GJGameLevel::getCoinKey(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // rax\n  char *v5; // rdi\n  __int64 v6; // rax\n  char savedregs; // [rsp+0h] [rbp+0h]\n\n  if ( a3 <= 0 )\n  {\n    if ( *(_BYTE *)(a1 + 649) == 1 )\n      v5 = \"%i_%i_g\";\n    else\n      v5 = \"%i_%i\";\n    v6 = sub_10088E820(v5, savedregs);\n    return cocos2d::CCString::getCString(v6);\n  }\n  else\n  {\n    v3 = sub_10088E820(\"%i_%i_%i\", savedregs);\n    return cocos2d::CCString::getCString(v3);\n  }\n}", "assembly": "; \n; GJGameLevel::getCoinKey from 0x100584030 to 0x100584094 (100 bytes)\n; \n; 1 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100239119\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:21 +0000\n; \npush    rbp; char                                                      ; +0x0, 0x100584030\nmov     rbp, rsp                                                       ; +0x1, 0x100584031\nmov     ecx, edx                                                       ; +0x4, 0x100584034\nmov     edx, esi                                                       ; +0x6, 0x100584036\ntest    ecx, ecx                                                       ; +0x8, 0x100584038\njle     short loc_10058405F                                            ; +0xa, 0x10058403a\nmov     esi, [rdi+148h]                                                ; +0xc, 0x10058403c\nsub     esi, [rdi+14Ch]                                                ; +0x12, 0x100584042\nlea     rdi, aIII_0; \"%i_%i_%i\"                                        ; +0x18, 0x100584048\nxor     eax, eax                                                       ; +0x1f, 0x10058404f\ncall    sub_10088E820                                                  ; +0x21, 0x100584051\nmov     rdi, rax                                                       ; +0x26, 0x100584056\npop     rbp                                                            ; +0x29, 0x100584059\njmp     cocos2d__CCString__getCString                                  ; +0x2a, 0x10058405a\nmov     esi, [rdi+148h]                                                ; +0x2f, 0x10058405f\nsub     esi, [rdi+14Ch]                                                ; +0x35, 0x100584065\ncmp     byte ptr [rdi+289h], 1                                         ; +0x3b, 0x10058406b\njnz     short loc_10058407D                                            ; +0x42, 0x100584072\nlea     rdi, aIIG; \"%i_%i_g\"                                           ; +0x44, 0x100584074\njmp     short loc_100584084                                            ; +0x4b, 0x10058407b\nlea     rdi, aII_5; \"%i_%i\"                                            ; +0x4d, 0x10058407d\nxor     eax, eax                                                       ; +0x54, 0x100584084\ncall    sub_10088E820                                                  ; +0x56, 0x100584086\nmov     rdi, rax                                                       ; +0x5b, 0x10058408b\npop     rbp                                                            ; +0x5e, 0x10058408e\njmp     cocos2d__CCString__getCString                                  ; +0x5f, 0x10058408f", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100239119"], "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"}