{"type": "func", "start": 4297739872, "end": 4297739945, "name": "GJDifficultySprite::updateFeatureStateFromLevel", "pseudocode": "// \n// GJDifficultySprite::updateFeatureStateFromLevel from 0x1002a4e60 to 0x1002a4ea9 (73 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100238c45\n// > LevelInfoLayer::updateLabelValues @ 0x1002afd77\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:27:55 +0000\n// \n\n__int64 __fastcall GJDifficultySprite::updateFeatureStateFromLevel(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  if ( a2 )\n    return GJDifficultySprite::updateFeatureState(a1);\n  return result;\n}", "assembly": "; \n; GJDifficultySprite::updateFeatureStateFromLevel from 0x1002a4e60 to 0x1002a4ea9 (73 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100238c45\n; > LevelInfoLayer::updateLabelValues @ 0x1002afd77\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:27:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002a4e60\nmov     rbp, rsp                                                       ; +0x1, 0x1002a4e61\ntest    rsi, rsi                                                       ; +0x4, 0x1002a4e64\njz      short loc_1002A4E9E                                            ; +0x7, 0x1002a4e67\nmov     rax, rsi                                                       ; +0x9, 0x1002a4e69\nxor     esi, esi                                                       ; +0xc, 0x1002a4e6c\ncmp     dword ptr [rax+388h], 0                                        ; +0xe, 0x1002a4e6e\nsetnle  cl                                                             ; +0x15, 0x1002a4e75\nmov     eax, [rax+38Ch]                                                ; +0x18, 0x1002a4e78\ntest    eax, eax                                                       ; +0x1e, 0x1002a4e7e\njle     short loc_1002A4EA0                                            ; +0x20, 0x1002a4e80\nmov     esi, 4                                                         ; +0x22, 0x1002a4e82\ncmp     eax, 2                                                         ; +0x27, 0x1002a4e87\nja      short loc_1002A4E98                                            ; +0x2a, 0x1002a4e8a\nxor     esi, esi                                                       ; +0x2c, 0x1002a4e8c\ncmp     eax, 1                                                         ; +0x2e, 0x1002a4e8e\nsetz    sil                                                            ; +0x31, 0x1002a4e91\nxor     esi, 3                                                         ; +0x35, 0x1002a4e95\npop     rbp                                                            ; +0x38, 0x1002a4e98\njmp     GJDifficultySprite__updateFeatureState                         ; +0x39, 0x1002a4e99\npop     rbp                                                            ; +0x3e, 0x1002a4e9e\nretn                                                                   ; +0x3f, 0x1002a4e9f\nmov     sil, cl                                                        ; +0x40, 0x1002a4ea0\npop     rbp                                                            ; +0x43, 0x1002a4ea3\njmp     GJDifficultySprite__updateFeatureState                         ; +0x44, 0x1002a4ea4", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100238c45", "LevelInfoLayer::updateLabelValues @ 0x1002afd77"], "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"}