{"type": "func", "start": 4298639516, "end": 4298639576, "name": "GJDifficultySprite::updateFeatureStateFromLevel", "pseudocode": "// \n// GJDifficultySprite::updateFeatureStateFromLevel from 0x10038089c to 0x1003808d8 (60 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::updateLabelValues @ 0x10002d05c\n// > LevelCell::loadCustomLevelCell @ 0x100134b1c\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:30 +0000\n// \n\n__int64 __fastcall GJDifficultySprite::updateFeatureStateFromLevel(__int64 result, __int64 a2)\n{\n  if ( a2 )\n    return GJDifficultySprite::updateFeatureState(result);\n  return result;\n}", "assembly": "; \n; GJDifficultySprite::updateFeatureStateFromLevel from 0x10038089c to 0x1003808d8 (60 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::updateLabelValues @ 0x10002d05c\n; > LevelCell::loadCustomLevelCell @ 0x100134b1c\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:30 +0000\n; \nCBZ             X1, locret_1003808D4                                   ; +0x0, 0x10038089c\nLDR             W8, [X1,#0x388]                                        ; +0x4, 0x1003808a0\nCMP             W8, #0                                                 ; +0x8, 0x1003808a4\nCSET            W8, GT                                                 ; +0xc, 0x1003808a8\nLDR             W9, [X1,#0x38C]                                        ; +0x10, 0x1003808ac\nMOV             W10, #4                                                ; +0x14, 0x1003808b0\nCMP             W9, #1                                                 ; +0x18, 0x1003808b4\nMOV             W11, #2                                                ; +0x1c, 0x1003808b8\nCINC            W11, W11, NE                                           ; +0x20, 0x1003808bc\nCMP             W9, #2                                                 ; +0x24, 0x1003808c0\nCSEL            W10, W10, W11, HI                                      ; +0x28, 0x1003808c4\nCMP             W9, #1                                                 ; +0x2c, 0x1003808c8\nCSEL            W1, W8, W10, LT                                        ; +0x30, 0x1003808cc\nB               GJDifficultySprite__updateFeatureState                 ; +0x34, 0x1003808d0\nRET                                                                    ; +0x38, 0x1003808d4", "xrefs": ["LevelInfoLayer::updateLabelValues @ 0x10002d05c", "LevelCell::loadCustomLevelCell @ 0x100134b1c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}